summaryrefslogtreecommitdiff
path: root/community/lxdm/lxdm-0.4.1-kill_user_processes.patch
blob: f267b105a05feffff6ff4b23cc6efafea2dcca25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff -aur lxdm/src/xconn.c lxdm.modified/src/xconn.c
--- lxdm/src/xconn.c	2012-12-23 19:27:04.512531088 -0800
+++ lxdm/src/xconn.c	2012-12-23 19:28:31.659227448 -0800
@@ -172,7 +172,7 @@
 	free(c);
 }
 
-#if 0
+//#if 0
 static xcb_window_t xconn_get_root(xconn_t c)
 {
 	const xcb_setup_t *setup;
@@ -181,11 +181,11 @@
 	xcb_screen_t *screen = iter.data;
 	return screen->root;
 }
-#endif
+//#endif
 
 void xconn_clean(xconn_t c)
 {
-#if 0
+//#if 0
 	xcb_query_tree_cookie_t wintree;
 	xcb_query_tree_reply_t *rep;
 	xcb_window_t *children;
@@ -202,7 +202,7 @@
 		xcb_kill_client(c->c,children[i]);
 	free(rep);
 	xcb_flush(c->c);
-#endif
+//#endif
 }
 
 #endif