mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
order popups one level above the bar (#321)
This commit is contained in:
parent
c29c6997d2
commit
0c80f9fe85
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ static bool popup_set_blur_radius(struct popup* popup, uint32_t radius) {
|
|||
|
||||
static void popup_order_windows(struct popup* popup) {
|
||||
int level = popup->topmost
|
||||
? kCGScreenSaverWindowLevel
|
||||
: kCGBackstopMenuLevel;
|
||||
? kCGScreenSaverWindowLevel + 1
|
||||
: kCGBackstopMenuLevel + 1;
|
||||
window_set_level(&popup->window, level);
|
||||
window_order(&popup->window, NULL, W_ABOVE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue