Rewrite X11 sys_show function This fixes a bug in chrome when trying to leave fullscreen mode. Chrome expect the fullscreen property to be set, otherwise leaving fullscreen actually tries to set fullscreen. This should also close up a few edge cases when switching between different modes.
Fix closing windows The win_msg function initializes a union.. Apparently since XEvent is a union the implied .xclient.type = 0 overrode the explicit .type = ClientMessage. Note: setting focus on gtk windows causes key presses to be missed for some reason.. so comment that out for now.