diff src/aosd/ghosd-internal.h @ 906:16e51fb5908e trunk

[svn] - aosd: beta4, ghosd source was rewritten to support argb visual (x composite extension) as an option, this allows to have real transparency in the OSD
author giacomo
date Sat, 31 Mar 2007 17:44:23 -0700
parents 13cdd6999598
children
line wrap: on
line diff
--- a/src/aosd/ghosd-internal.h	Sat Mar 31 06:40:00 2007 -0700
+++ b/src/aosd/ghosd-internal.h	Sat Mar 31 17:44:23 2007 -0700
@@ -3,6 +3,9 @@
  *
  * With further development by Giacomo Lozito <james@develia.org>
  * for the ghosd-based Audacious OSD
+ * - added real transparency with X Composite Extension
+ * - added mouse event handling on OSD window
+ * - added/changed some other stuff
  */
 
 #include <X11/Xlib.h>
@@ -28,7 +31,13 @@
 struct _Ghosd {
   Display *dpy;
   Window win;
+  Window root_win;
+  Visual *visual;
+  Colormap colormap;
+  int screen_num;
+  unsigned int depth;
   int transparent;
+  int composite;
   int x, y, width, height;
 
   GhosdBackground background;