Update comment

This commit is contained in:
Michael Stapelberg 2009-03-09 07:18:04 +01:00
parent cc78664f9d
commit 38d903aea5
1 changed files with 1 additions and 3 deletions

View File

@ -451,9 +451,7 @@ int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_noti
LOG("Removing from focus stack\n"); LOG("Removing from focus stack\n");
SLIST_REMOVE(&(con->workspace->focus_stack), client, Client, focus_clients); SLIST_REMOVE(&(con->workspace->focus_stack), client, Client, focus_clients);
/* Set currently_focused to the next client which will get focus in this /* Set focus to the last focused client in this container */
particular container. This does not necessarily correspond with the client
that will be focused next */
con->currently_focused = NULL; con->currently_focused = NULL;
Client *focus_client; Client *focus_client;
SLIST_FOREACH(focus_client, &(con->workspace->focus_stack), focus_clients) SLIST_FOREACH(focus_client, &(con->workspace->focus_stack), focus_clients)