Invalidate last_focused when focusing the EWMH support window

Fixes #3562
This commit is contained in:
Orestis Floros
2018-12-14 20:39:34 +02:00
parent dd708199ea
commit fb1ae61d1c
2 changed files with 36 additions and 3 deletions

View File

@ -1325,6 +1325,7 @@ void x_push_changes(Con *con) {
change_ewmh_focus(XCB_WINDOW_NONE, last_focused);
focused_id = ewmh_window;
last_focused = XCB_NONE;
}
xcb_flush(conn);