don't need xcb-keysyms
turn double-buffering back on
only redraw window when it's dirty