[gtk/wip/chergert/quartz4u] macos: stay topmost during zoomback
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u] macos: stay topmost during zoomback
- Date: Tue, 23 Jun 2020 19:04:41 +0000 (UTC)
commit 5b8375cba9b08f60f9b19fb5f7c2d849441ce3cb
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 23 12:03:58 2020 -0700
macos: stay topmost during zoomback
gdk/macos/gdkmacosdrag.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gdk/macos/gdkmacosdrag.c b/gdk/macos/gdkmacosdrag.c
index 678fd4ddb7..de1324c674 100644
--- a/gdk/macos/gdkmacosdrag.c
+++ b/gdk/macos/gdkmacosdrag.c
@@ -96,6 +96,9 @@ gdk_macos_zoomback_timeout (gpointer data)
(drag->start_y - drag->last_y) * t);
_gdk_macos_surface_set_opacity (GDK_MACOS_SURFACE (drag->drag_surface), 1.0 - f);
+ /* Make sure we're topmost */
+ _gdk_macos_surface_show (GDK_MACOS_SURFACE (drag->drag_surface));
+
return G_SOURCE_CONTINUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]