From 772da68c111611d5b40c3b207dfdf05d96422a8f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Oct 15 2022 09:41:30 +0000 Subject: fix dialog windows in wine --- diff --git a/marco.spec b/marco.spec index a4946a4..8ed1f1f 100644 --- a/marco.spec +++ b/marco.spec @@ -15,7 +15,7 @@ Name: marco Version: %{branch}.0 %if 0%{?rel_build} -Release: 3%{?dist} +Release: 4%{?dist} %else Release: 0.16%{?git_rel}%{?dist} %endif @@ -36,6 +36,9 @@ Patch3: marco_0003-prefs-fix-memory-leak.patch Patch4: marco_0004-build-fix-meson-build.patch Patch5: marco_0005-compositor-xrender-fix-memory-leak.patch Patch6: marco_0006-theme-fix-memory-leak.patch +# https://github.com/mate-desktop/marco/commit/63b00b9 +# fixing wine +Patch7: marco_0001-window-do-not-disable-fullscreen-for-dialogs.patch BuildRequires: desktop-file-utils BuildRequires: gtk3-devel @@ -159,6 +162,10 @@ desktop-file-install \ %changelog +* Sat Oct 15 2022 Wolfgang Ulbrich - 1.26.0-4 +- fix dialog windows in wine +- https://github.com/mate-desktop/marco/commit/63b00b9 + * Fri Jul 08 2022 Wolfgang Ulbrich - 1.26.0-3 - use commits from 1.26 upstream branch diff --git a/marco_0001-window-do-not-disable-fullscreen-for-dialogs.patch b/marco_0001-window-do-not-disable-fullscreen-for-dialogs.patch new file mode 100644 index 0000000..1df6f28 --- /dev/null +++ b/marco_0001-window-do-not-disable-fullscreen-for-dialogs.patch @@ -0,0 +1,27 @@ +From 63b00b9ee4d98cf9dc65b53ef1b27155da14d93e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= +Date: Mon, 3 Oct 2022 02:44:54 +0300 +Subject: [PATCH] window: do not disable fullscreen for dialogs + +fixes https://github.com/mate-desktop/marco/issues/735 +--- + 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 55badf54..51bb870e 100644 +--- a/src/core/window.c ++++ b/src/core/window.c +@@ -6732,7 +6732,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; +-- +2.37.3 +