Fix: Calculation of unoccupied space has to depend on current row/col

This commit is contained in:
Michael Stapelberg
2009-02-23 02:09:24 +01:00
parent fe0485f9e5
commit 695494606d
2 changed files with 19 additions and 6 deletions

View File

@ -337,10 +337,10 @@ int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
*
*/
int handle_expose_event(void *data, xcb_connection_t *conn, xcb_expose_event_t *e) {
printf("handle_expose_event()\n");
Client *client = table_get(byParent, e->window);
if(!client || e->count != 0)
return 1;
printf("handle_expose_event()\n");
decorate_window(conn, client);
return 1;
}