[gtk/gtk-3-24-fix-minimize] Update gdkwindow-quartz.c
- From: Alex Samorukov <asamorukov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24-fix-minimize] Update gdkwindow-quartz.c
- Date: Sat, 4 Jan 2020 11:50:41 +0000 (UTC)
commit 92c02021b432570cb6c6feae7016f6a9e256ad05
Author: Alex Samorukov <samm net-art cz>
Date: Sat Jan 4 11:49:27 2020 +0000
Update gdkwindow-quartz.c
gdk/quartz/gdkwindow-quartz.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index eb4ec690e8..8c00e915fe 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2408,7 +2408,8 @@ gdk_quartz_window_set_decorations (GdkWindow *window,
if (decorations == 0 || GDK_WINDOW_TYPE (window) == GDK_WINDOW_TEMP ||
impl->type_hint == GDK_WINDOW_TYPE_HINT_SPLASHSCREEN )
{
- new_mask = GDK_QUARTZ_BORDERLESS_WINDOW;
+ /* without GDK_QUARTZ_MINIATURIZABLE_WINDOW it is not possible to minimize window */
+ new_mask = GDK_QUARTZ_BORDERLESS_WINDOW | GDK_QUARTZ_MINIATURIZABLE_WINDOW;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]