forked from AuroraMiddleware/gtk
Add SKIP_TASKBAR/SKIP_PAGER to set of properties we might set on map.
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add SKIP_TASKBAR/SKIP_PAGER to set of properties we might set on map. (#110019, problem reported by Loban Rahman)
This commit is contained in:
parent
d64b24ffc2
commit
feff41c77b
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
|
||||
SKIP_TASKBAR/SKIP_PAGER to set of properties we
|
||||
might set on map. (#110019, problem reported
|
||||
by Loban Rahman)
|
||||
|
||||
Fri Apr 18 17:14:33 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Fix for the
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
|
||||
SKIP_TASKBAR/SKIP_PAGER to set of properties we
|
||||
might set on map. (#110019, problem reported
|
||||
by Loban Rahman)
|
||||
|
||||
Fri Apr 18 17:14:33 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Fix for the
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
|
||||
SKIP_TASKBAR/SKIP_PAGER to set of properties we
|
||||
might set on map. (#110019, problem reported
|
||||
by Loban Rahman)
|
||||
|
||||
Fri Apr 18 17:14:33 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Fix for the
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
|
||||
SKIP_TASKBAR/SKIP_PAGER to set of properties we
|
||||
might set on map. (#110019, problem reported
|
||||
by Loban Rahman)
|
||||
|
||||
Fri Apr 18 17:14:33 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Fix for the
|
||||
|
@ -1,3 +1,10 @@
|
||||
Fri Apr 18 17:42:45 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
|
||||
SKIP_TASKBAR/SKIP_PAGER to set of properties we
|
||||
might set on map. (#110019, problem reported
|
||||
by Loban Rahman)
|
||||
|
||||
Fri Apr 18 17:14:33 2003 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdkevents.c (gdk_event_copy): Fix for the
|
||||
|
@ -948,10 +948,12 @@ set_initial_hints (GdkWindow *window)
|
||||
Display *xdisplay = GDK_DISPLAY_XDISPLAY (display);
|
||||
Window xwindow = GDK_WINDOW_XID (window);
|
||||
GdkWindowObject *private;
|
||||
Atom atoms[6];
|
||||
GdkWindowImplX11 *impl;
|
||||
Atom atoms[7];
|
||||
gint i;
|
||||
|
||||
private = (GdkWindowObject*) window;
|
||||
impl = GDK_WINDOW_IMPL_X11 (private->impl);
|
||||
|
||||
if (private->state & GDK_WINDOW_STATE_ICONIFIED)
|
||||
{
|
||||
@ -998,7 +1000,7 @@ set_initial_hints (GdkWindow *window)
|
||||
"_NET_WM_STATE_FULLSCREEN");
|
||||
++i;
|
||||
}
|
||||
|
||||
|
||||
if (private->modal_hint)
|
||||
{
|
||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||
@ -1006,6 +1008,20 @@ set_initial_hints (GdkWindow *window)
|
||||
++i;
|
||||
}
|
||||
|
||||
if (impl->skip_taskbar_hint)
|
||||
{
|
||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||
"_NET_WM_STATE_SKIP_TASKBAR");
|
||||
++i;
|
||||
}
|
||||
|
||||
if (impl->skip_pager_hint)
|
||||
{
|
||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||
"_NET_WM_STATE_SKIP_PAGER");
|
||||
++i;
|
||||
}
|
||||
|
||||
if (i > 0)
|
||||
{
|
||||
XChangeProperty (xdisplay,
|
||||
|
Loading…
Reference in New Issue
Block a user