Really stop using Xlib
Apparently I forgot some part...? Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
0e81479a3f
commit
c7423fe79e
|
@ -54,9 +54,6 @@
|
||||||
#include <xcb/xtest.h>
|
#include <xcb/xtest.h>
|
||||||
#include <xcb/shape.h>
|
#include <xcb/shape.h>
|
||||||
|
|
||||||
#include <X11/Xlib-xcb.h>
|
|
||||||
#include <X11/XKBlib.h>
|
|
||||||
|
|
||||||
#include <glib-unix.h>
|
#include <glib-unix.h>
|
||||||
|
|
||||||
awesome_t globalconf;
|
awesome_t globalconf;
|
||||||
|
@ -583,9 +580,6 @@ main(int argc, char **argv)
|
||||||
/* set the default preferred icon size */
|
/* set the default preferred icon size */
|
||||||
globalconf.preferred_icon_size = 0;
|
globalconf.preferred_icon_size = 0;
|
||||||
|
|
||||||
/* XLib sucks */
|
|
||||||
XkbIgnoreExtension(True);
|
|
||||||
|
|
||||||
/* X stuff */
|
/* X stuff */
|
||||||
globalconf.connection = xcb_connect(NULL, &globalconf.default_screen);
|
globalconf.connection = xcb_connect(NULL, &globalconf.default_screen);
|
||||||
if(xcb_connection_has_error(globalconf.connection))
|
if(xcb_connection_has_error(globalconf.connection))
|
||||||
|
|
Loading…
Reference in New Issue