[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: Mon, 3 Oct 2022 14:46:06 +0000 (UTC)
commit ed9a176428c9b0f32d2dcd59c6b9aa3a872e109b
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 194f42b7..fc565d37 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -6853,7 +6853,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]