changeset 624:921a816c154f trunk

[svn] - aosd: put back override_redirect=True
author giacomo
date Fri, 09 Feb 2007 07:21:13 -0800
parents 443de962d0a0
children fdae06cbebc9
files ChangeLog src/aosd/ghosd.c
diffstat 2 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 <james@develia.org>
+  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 <nenolod@sacredspiral.co.uk>
   revision [1330]
   - remove the buggy memoryleaking mpg123 and integrate madplug into the 
--- 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,