mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 21:40:19 +00:00
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.
This commit is contained in:
parent
0239ee50be
commit
47f0e3f1e1
@ -2373,8 +2373,8 @@ gdk_window_set_hints (GdkWindow *window,
|
|||||||
/* FIXME: Implement */
|
/* FIXME: Implement */
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static gint
|
||||||
gint window_type_hint_to_level (GdkWindowTypeHint hint)
|
window_type_hint_to_level (GdkWindowTypeHint hint)
|
||||||
{
|
{
|
||||||
switch (hint)
|
switch (hint)
|
||||||
{
|
{
|
||||||
@ -2388,9 +2388,9 @@ gint window_type_hint_to_level (GdkWindowTypeHint hint)
|
|||||||
|
|
||||||
case GDK_WINDOW_TYPE_HINT_NOTIFICATION:
|
case GDK_WINDOW_TYPE_HINT_NOTIFICATION:
|
||||||
case GDK_WINDOW_TYPE_HINT_TOOLTIP:
|
case GDK_WINDOW_TYPE_HINT_TOOLTIP:
|
||||||
|
case GDK_WINDOW_TYPE_HINT_SPLASHSCREEN:
|
||||||
return NSStatusWindowLevel;
|
return NSStatusWindowLevel;
|
||||||
|
|
||||||
case GDK_WINDOW_TYPE_HINT_SPLASHSCREEN:
|
|
||||||
case GDK_WINDOW_TYPE_HINT_POPUP_MENU:
|
case GDK_WINDOW_TYPE_HINT_POPUP_MENU:
|
||||||
case GDK_WINDOW_TYPE_HINT_COMBO:
|
case GDK_WINDOW_TYPE_HINT_COMBO:
|
||||||
case GDK_WINDOW_TYPE_HINT_DND:
|
case GDK_WINDOW_TYPE_HINT_DND:
|
||||||
|
Loading…
Reference in New Issue
Block a user