Also give input focus when making window visible

This commit is contained in:
Bastien Dejean 2012-12-23 12:14:30 +01:00
parent af06168b61
commit 81135a1953

View file

@ -484,4 +484,6 @@ void toggle_visibility(void)
window_set_visibility(win, visible); window_set_visibility(win, visible);
xcb_change_window_attributes(dpy, win, XCB_CW_EVENT_MASK, values_on); xcb_change_window_attributes(dpy, win, XCB_CW_EVENT_MASK, values_on);
} }
if (visible)
update_current();
} }