diff options
author | MC <mc@hack.org> | 2010-06-21 12:10:08 +0200 |
---|---|---|
committer | MC <mc@hack.org> | 2010-06-21 12:10:08 +0200 |
commit | 8568c8791fd34b618ee9b3f68d580af560e357cb (patch) | |
tree | ec8013acb356025e76c43966f08ce5eebba0b0bd /mcwm.c | |
parent | 7d13534fecc65650972782805413157e826d6397 (diff) | |
download | mcwm-8568c8791fd34b618ee9b3f68d580af560e357cb.zip |
Don't need to set focusin twice.
Diffstat (limited to 'mcwm.c')
-rw-r--r-- | mcwm.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -336,7 +336,7 @@ int setupscreen(void) setfocus(pointer->child); free(pointer); } - + xcb_flush(conn); free(reply); @@ -1391,11 +1391,7 @@ int main(int argc, char **argv) /* Get the first screen */ screen = xcb_setup_roots_iterator(xcb_get_setup(conn)).data; - root = screen->root; - /* Initial focus is root */ - /* FIXME: Ask the X server what window has focus. */ - focuswin = screen->root; PDEBUG("Screen size: %dx%d\nRoot window: %d\n", screen->width_in_pixels, screen->height_in_pixels, screen->root); |