mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
push version to v2.21.0
This commit is contained in:
parent
0cc53dc1d0
commit
3946005f6b
3 changed files with 5 additions and 7 deletions
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue