[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kwin/kompmgr
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2006-02-20 1:12:54
Message-ID: 1140397974.993019.9465.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 511474 by danimo:

backport from trunk: 
make it possible to trace pixmap leakage via xrestop



 M  +14 -0     kompmgr.c  


--- branches/KDE/3.5/kdebase/kwin/kompmgr/kompmgr.c #511473:511474
@@ -2484,6 +2484,17 @@
 	exit (1);
 }
 
+	static void
+give_me_a_name(void)
+{
+  Window w;
+
+  w = XCreateSimpleWindow (dpy, RootWindow(dpy, 0), 0, 0, 1, 1, 0, None,
+		  None);
+  Xutf8SetWMProperties(dpy, w, "kcompmgr", "kcompmgr", NULL, 0, NULL, NULL,
+		  NULL);
+}	
+
 	int
 main (int argc, char **argv)
 {
@@ -2628,6 +2639,9 @@
 	}
 
 	fprintf(stderr, "Started\n");
+
+	give_me_a_name();
+
 	/* get atoms */
 	shadowAtom = XInternAtom (dpy, SHADOW_PROP, False);
 	opacityAtom = XInternAtom (dpy, OPACITY_PROP, False);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic