[metacity/wip/muktupavels/issue-33: 3/3] 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: 3/3] window: do not disable fullscreen for dialogs
- Date: Mon, 3 Oct 2022 20:10:03 +0000 (UTC)
commit b2fbe4c445d3e1b969dc0ae223bbd42e54dce4d2
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 07886fb5..80e56c37 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]