order popups one level above the bar (#321)

This commit is contained in:
Felix Kratz 2023-02-02 22:26:35 +01:00
parent c29c6997d2
commit 0c80f9fe85

View file

@ -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);