# HG changeset patch # User giacomo # Date 1170899172 28800 # Node ID 30f74d6b75cfc4432fa1a3193e2c29df86e60cf4 # Parent 1fb44c12a8123f2f1c5e8a1edf1f9056cd3b37a9 [svn] - aosd: added _NET_WM_WINDOW_TYPE_DOCK to osd window hints diff -r 1fb44c12a812 -r 30f74d6b75cf ChangeLog --- a/ChangeLog Wed Feb 07 10:35:13 2007 -0800 +++ b/ChangeLog Wed Feb 07 17:46:12 2007 -0800 @@ -1,3 +1,11 @@ +2007-02-07 18:35:13 +0000 William Pitcock + revision [1316] + - avoid NULL dereference. closes mandriva #28603. + + trunk/src/vorbis/vorbis.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-02-07 11:52:25 +0000 Giacomo Lozito revision [1314] - aosd, further work on ghosd source: do not use a override_redirect=true window and give the WM information about initial pos/size of osd (prevents flickering with normal windows); now the osd won't be displayed in multiple workspaces, only in the one where it's initially triggered diff -r 1fb44c12a812 -r 30f74d6b75cf src/aosd/ghosd.c --- a/src/aosd/ghosd.c Wed Feb 07 10:35:13 2007 -0800 +++ b/src/aosd/ghosd.c Wed Feb 07 17:46:12 2007 -0800 @@ -132,6 +132,15 @@ mwm_hints, mwm_hints, 32, PropModeReplace, (unsigned char *)&mwm_hints_setting, 4); + /* setting the window type to _NET_WM_WINDOW_TYPE_DOCK helps with + windowmaker (and hopefully doesn't break compatibility with other wm) */ + Atom win_type = XInternAtom(dpy, "_NET_WM_WINDOW_TYPE", False); + Atom win_type_setting[] = { + XInternAtom(dpy, "_NET_WM_WINDOW_TYPE_DOCK", False) + }; + XChangeProperty(dpy, win, win_type, XA_ATOM, 32, + PropModeReplace, (unsigned char*)&win_type_setting, 1); + /* always on top, not in taskbar or pager. */ Atom win_state = XInternAtom(dpy, "_NET_WM_STATE", False); Atom win_state_setting[] = {