[gtk+/gtk-3-6] quartz: move SPLASHSCREEN-hinted windows to NSStatusWindowLevel
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-6] quartz: move SPLASHSCREEN-hinted windows to NSStatusWindowLevel
- Date: Tue, 13 Nov 2012 19:11:04 +0000 (UTC)
commit 0ea3e674c1551b62f14395c9314cc2d33a6074fb
Author: Michael Natterer <mitch gimp org>
Date: Tue Nov 13 19:58:40 2012 +0100
quartz: move SPLASHSCREEN-hinted windows to NSStatusWindowLevel
which does not really have a different effect than the previously
used NSPopUpMenuWindowLevel, but is what all code examples I found
are using, and it does make more sense.
(cherry picked from commit 47f0e3f1e1cd6b0ae61ec7ced48cc9802f1a95a4)
gdk/quartz/gdkwindow-quartz.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index fcfe7c1..ef104ca 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2315,8 +2315,8 @@ gdk_quartz_window_focus (GdkWindow *window,
}
}
-static
-gint window_type_hint_to_level (GdkWindowTypeHint hint)
+static gint
+window_type_hint_to_level (GdkWindowTypeHint hint)
{
switch (hint)
{
@@ -2330,9 +2330,9 @@ gint window_type_hint_to_level (GdkWindowTypeHint hint)
case GDK_WINDOW_TYPE_HINT_NOTIFICATION:
case GDK_WINDOW_TYPE_HINT_TOOLTIP:
+ case GDK_WINDOW_TYPE_HINT_SPLASHSCREEN:
return NSStatusWindowLevel;
- case GDK_WINDOW_TYPE_HINT_SPLASHSCREEN:
case GDK_WINDOW_TYPE_HINT_POPUP_MENU:
case GDK_WINDOW_TYPE_HINT_COMBO:
case GDK_WINDOW_TYPE_HINT_DND:
@@ -2351,7 +2351,7 @@ gint window_type_hint_to_level (GdkWindowTypeHint hint)
return NSNormalWindowLevel;
}
-static gboolean
+static gboolean
window_type_hint_to_shadow (GdkWindowTypeHint hint)
{
switch (hint)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]