# HG changeset patch # User giacomo # Date 1171034473 28800 # Node ID 921a816c154f6475756ca6e2964da85f582295a6 # Parent 443de962d0a0ecb4cf23efbc105ff7e0243c2e38 [svn] - aosd: put back override_redirect=True diff -r 443de962d0a0 -r 921a816c154f ChangeLog --- a/ChangeLog Thu Feb 08 16:20:27 2007 -0800 +++ b/ChangeLog Fri Feb 09 07:21:13 2007 -0800 @@ -1,3 +1,17 @@ +2007-02-09 00:20:27 +0000 Giacomo Lozito + revision [1332] + - aosd: revert window type setting + trunk/src/aosd/Makefile | 4 +-- + trunk/src/aosd/aosd_osd.c | 1 + trunk/src/aosd/aosd_style.c | 1 + trunk/src/aosd/aosd_trigger.c | 36 ++++++++++++++++++++++------ + trunk/src/aosd/ghosd-main.c | 2 - + trunk/src/aosd/ghosd-text.c | 53 ------------------------------------------ + trunk/src/aosd/ghosd-text.h | 14 ----------- + trunk/src/aosd/ghosd.c | 9 ------- + 8 files changed, 32 insertions(+), 88 deletions(-) + + 2007-02-08 17:10:38 +0000 William Pitcock revision [1330] - remove the buggy memoryleaking mpg123 and integrate madplug into the diff -r 443de962d0a0 -r 921a816c154f src/aosd/ghosd.c --- a/src/aosd/ghosd.c Thu Feb 08 16:20:27 2007 -0800 +++ b/src/aosd/ghosd.c Fri Feb 09 07:21:13 2007 -0800 @@ -113,7 +113,6 @@ static void set_hints(Display *dpy, Window win) { - XSizeHints *sizehints; XClassHint *classhints; char *res_class = "Audacious"; char *res_name = "aosd"; @@ -148,6 +147,7 @@ /* give initial pos/size information to window manager about the window, this prevents flickering */ + /* NOTE: unneeded if override_redirect is set to True sizehints = XAllocSizeHints(); sizehints->flags = USPosition | USSize; sizehints->x = -1; @@ -155,7 +155,7 @@ sizehints->width = 1; sizehints->height = 1; XSetWMNormalHints(dpy, win, sizehints); - XFree( sizehints ); + XFree( sizehints );*/ classhints = XAllocClassHint(); classhints->res_name = res_name; @@ -175,7 +175,7 @@ att.background_pixmap = None; att.save_under = True; att.event_mask = ExposureMask | StructureNotifyMask | ButtonPressMask; - att.override_redirect = False; + att.override_redirect = True; win = XCreateWindow(dpy, DefaultRootWindow(dpy), -1, -1, 1, 1, 0,