[metacity/wip/muktupavels/issue-33: 6/6] window: do not disable fullscreen for dialogs
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/wip/muktupavels/issue-33: 6/6] window: do not disable fullscreen for dialogs
- Date: Sun, 2 Oct 2022 23:49:42 +0000 (UTC)
commit 733e1f8e56b411a033ed0a8c7d0216ca895db3bb
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Oct 3 02:44:54 2022 +0300
window: do not disable fullscreen for dialogs
https://gitlab.gnome.org/GNOME/metacity/-/issues/33
src/core/window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 8c49770d..0409ce71 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6859,7 +6859,8 @@ recalc_window_features (MetaWindow *window)
window->has_resize_func = FALSE;
}
- if (window->type != META_WINDOW_NORMAL)
+ if (window->type != META_WINDOW_NORMAL &&
+ window->type != META_WINDOW_DIALOG)
{
window->has_minimize_func = FALSE;
window->has_maximize_func = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]