Bugfix: Don’t set focus if it is not necessary.

This fixes ticket #13
This commit is contained in:
Michael Stapelberg
2009-04-01 12:50:42 +02:00
parent 755540817e
commit 28aa13d831
5 changed files with 17 additions and 12 deletions

View File

@ -289,7 +289,7 @@ void cleanup_table(xcb_connection_t *conn, Workspace *workspace) {
current_row = c_ws->rows-1;
if (CUR_CELL->currently_focused != NULL)
set_focus(conn, CUR_CELL->currently_focused);
set_focus(conn, CUR_CELL->currently_focused, true);
}
/*