Rename get_iconic to get_swm_iconic
Add new xcb_timestamp_t parameter to client_msg.
Add debug output to client_msg.
Remove unfocus_all since no longer needed.
Fix focus_win to correctly set focus on window.
Time must be specified in ClientMessage WM_TAKE_FOCUS.
Track window mapped state.
Change focus function to only set workspace focus; need to call
focus_win separately.
Fix focus_win function to correctly set window focus.
Add FocusOut debug output.
Add debug message to client_msg.
Add timestamp parameter to client_msg.
When sending the client message WM_TAKE_FOCUS, the time must not be
XCB_TIME_CURRENT.
Check window state before unmapping.
Track X11 timestamps for use in focus_win.
Handle iconify on property notify.
if (!new_ws->focus)
bar_update();
+ /* make sure bar gets updated if ws is empty */
+ if (!new_ws->focus)
+ bar_update();
+
focus_flush();
DNPRINTF(SWM_D_WS, "switchws: done.\n");
propertynotify(xcb_property_notify_event_t *e)
{
struct ws_win *win;
+ union arg a;
#ifdef SWM_DEBUG
char *name;