forked from AuroraMiddleware/gtk
Don't show TEMP windows in the Task Manager. Implement by calling
2004-08-22 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal, gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP windows in the Task Manager. Implement by calling gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim Evans)
This commit is contained in:
parent
a63a44ff3b
commit
7ed263a266
@ -1,5 +1,11 @@
|
||||
2004-08-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
|
||||
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
|
||||
windows in the Task Manager. Implement by calling
|
||||
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
|
||||
Evans)
|
||||
|
||||
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
|
||||
Report whole of (primary) monitor, including any taskbars.
|
||||
Excluding the taskbar area from the "root window" reported to GDK
|
||||
|
@ -1,5 +1,11 @@
|
||||
2004-08-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
|
||||
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
|
||||
windows in the Task Manager. Implement by calling
|
||||
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
|
||||
Evans)
|
||||
|
||||
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
|
||||
Report whole of (primary) monitor, including any taskbars.
|
||||
Excluding the taskbar area from the "root window" reported to GDK
|
||||
|
@ -1,5 +1,11 @@
|
||||
2004-08-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
|
||||
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
|
||||
windows in the Task Manager. Implement by calling
|
||||
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
|
||||
Evans)
|
||||
|
||||
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
|
||||
Report whole of (primary) monitor, including any taskbars.
|
||||
Excluding the taskbar area from the "root window" reported to GDK
|
||||
|
@ -1,5 +1,11 @@
|
||||
2004-08-22 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal,
|
||||
gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP
|
||||
windows in the Task Manager. Implement by calling
|
||||
gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim
|
||||
Evans)
|
||||
|
||||
* gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open):
|
||||
Report whole of (primary) monitor, including any taskbars.
|
||||
Excluding the taskbar area from the "root window" reported to GDK
|
||||
|
@ -470,10 +470,11 @@ RegisterGdkClass (GdkWindowType wtype)
|
||||
return klass;
|
||||
}
|
||||
|
||||
GdkWindow*
|
||||
gdk_window_new (GdkWindow *parent,
|
||||
GdkWindowAttr *attributes,
|
||||
gint attributes_mask)
|
||||
static GdkWindow*
|
||||
gdk_window_new_internal (GdkWindow *parent,
|
||||
GdkWindowAttr *attributes,
|
||||
gint attributes_mask,
|
||||
gboolean from_set_skip_taskbar_hint)
|
||||
{
|
||||
HANDLE hparent;
|
||||
ATOM klass = 0;
|
||||
@ -734,6 +735,9 @@ gdk_window_new (GdkWindow *parent,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!from_set_skip_taskbar_hint && private->window_type == GDK_WINDOW_TEMP)
|
||||
gdk_window_set_skip_taskbar_hint (window, TRUE);
|
||||
|
||||
gdk_window_set_cursor (window, ((attributes_mask & GDK_WA_CURSOR) ?
|
||||
(attributes->cursor) :
|
||||
NULL));
|
||||
@ -741,6 +745,14 @@ gdk_window_new (GdkWindow *parent,
|
||||
return window;
|
||||
}
|
||||
|
||||
GdkWindow*
|
||||
gdk_window_new (GdkWindow *parent,
|
||||
GdkWindowAttr *attributes,
|
||||
gint attributes_mask)
|
||||
{
|
||||
return gdk_window_new_internal (parent, attributes, attributes_mask, FALSE);
|
||||
}
|
||||
|
||||
GdkWindow *
|
||||
gdk_window_foreign_new_for_display (GdkDisplay *display,
|
||||
GdkNativeWindow anid)
|
||||
@ -3151,7 +3163,7 @@ gdk_window_set_skip_taskbar_hint (GdkWindow *window,
|
||||
wa.wclass = GDK_INPUT_OUTPUT;
|
||||
wa.width = wa.height = 1;
|
||||
wa.event_mask = 0;
|
||||
owner = gdk_window_new (NULL, &wa, 0);
|
||||
owner = gdk_window_new_internal (NULL, &wa, 0, TRUE);
|
||||
}
|
||||
|
||||
SetWindowLong (GDK_WINDOW_HWND (window), GWL_HWNDPARENT,
|
||||
|
Loading…
Reference in New Issue
Block a user