1 This patch is necessary to use real transparency with tint2.
2 It can also be useful for any application which needs to know
3 if there is a compositing manager running.
4 See http://bugs.freedesktop.org/show_bug.cgi?id=26090
7 diff -Nur xcompmgr-dana/xcompmgr.c xcompmgr-dana.new/xcompmgr.c
8 --- xcompmgr-dana/xcompmgr.c 2010-01-25 21:53:13.000000000 +0100
9 +++ xcompmgr-dana.new/xcompmgr.c 2010-06-05 09:42:38.000000000 +0200
10 @@ -1991,6 +1991,21 @@
13 XSetSelectionOwner (dpy, a, w, 0);
15 + /* Send a ClientMessage notification so other apps
16 + can detect the compositing manager started */
17 + XClientMessageEvent ev;
18 + ev.type = ClientMessage;
19 + ev.window = RootWindow (dpy, scr);
20 + ev.message_type = a;
22 + ev.data.l[0] = CurrentTime;
27 + XSendEvent(dpy, RootWindow (dpy, scr), False, StructureNotifyMask, (XEvent*)&ev);