xlib: correctly map button identifiers
Add key modifiers to button event
xlib: set swap_interval, and request a depth buffer