Add separate minimize_disabled and maximize_disabled window flags.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-06 17:38:00 +03:00
parent af2c713971
commit f37fb49739
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
20 changed files with 212 additions and 20 deletions

View file

@ -223,6 +223,8 @@ Popup::Popup() {
set_transient(true);
set_flag(FLAG_BORDERLESS, true);
set_flag(FLAG_RESIZE_DISABLED, true);
set_flag(FLAG_MINIMIZE_DISABLED, true);
set_flag(FLAG_MAXIMIZE_DISABLED, true);
set_flag(FLAG_POPUP, true);
set_flag(FLAG_POPUP_WM_HINT, true);
}