Skip to content

Commit

Permalink
push version to v2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKratz committed Mar 14, 2024
1 parent 0cc53dc commit 3946005
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/bar_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1011,12 +1011,10 @@ void bar_manager_handle_system_will_sleep(struct bar_manager* bar_manager) {
void bar_manager_handle_system_woke(struct bar_manager* bar_manager) {
usleep(100000);
bar_manager->sleeps = false;
bar_manager_display_changed(bar_manager);
bar_manager_custom_events_trigger(bar_manager,
COMMAND_SUBSCRIBE_SYSTEM_WOKE,
NULL );


bar_manager_display_changed(bar_manager);
}

void bar_manager_handle_notification(struct bar_manager* bar_manager, struct notification* notification) {
Expand Down
4 changes: 2 additions & 2 deletions src/popup.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ void popup_draw(struct popup* popup) {
windows_freeze();
if (!popup->window.id) popup_create_window(popup);

if (!window_apply_frame(&popup->window, false)
&& !popup->host->needs_update ) return;
if (!window_apply_frame(&popup->window, false) && !popup->host->needs_update)
return;

CGContextClearRect(popup->window.context, popup->background.bounds);

Expand Down
4 changes: 2 additions & 2 deletions src/sketchybar.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
#define HELP_OPT_SHRT "-h"

#define MAJOR 2
#define MINOR 20
#define PATCH 1
#define MINOR 21
#define PATCH 0

#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 140000
extern CGError SLSWindowManagementBridgeSetDelegate(void* delegate);
Expand Down

0 comments on commit 3946005

Please sign in to comment.