Mageia Bugzilla – Attachment 3286 Details for
Bug 8209
User session not terminated when logging out with lxdm, systemd-logind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Comments out the ifdef 0 statements around libxcb specific code
actually_kill_user_processes.patch (text/plain), 671 bytes, created by
Sapphira Armageddos
on 2012-12-24 05:21:38 CET
(
hide
)
Description:
Comments out the ifdef 0 statements around libxcb specific code
Filename:
MIME Type:
Creator:
Sapphira Armageddos
Created:
2012-12-24 05:21:38 CET
Size:
671 bytes
patch
obsolete
>diff -aur lxdm/src/xconn.c lxdm.modified/src/xconn.c >--- lxdm/src/xconn.c 2012-12-23 19:27:04.512531088 -0800 >+++ lxdm.modified/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
diff -aur lxdm/src/xconn.c lxdm.modified/src/xconn.c --- lxdm/src/xconn.c 2012-12-23 19:27:04.512531088 -0800 +++ lxdm.modified/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
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8209
: 3286