Bugfix: Upon ExposEvents, redraw decoration also for the window itself

In the meantime, windows can have decorations (borders) on their own frame, too.
This commit is contained in:
Michael Stapelberg 2010-11-26 18:37:34 +01:00
parent e744b48b30
commit 962fe075b9

View File

@ -609,6 +609,9 @@ int handle_expose_event(void *data, xcb_connection_t *conn, xcb_expose_event_t *
return 1; return 1;
} }
if (parent->window)
x_draw_decoration(parent);
TAILQ_FOREACH(con, &(parent->nodes_head), nodes) { TAILQ_FOREACH(con, &(parent->nodes_head), nodes) {
LOG("expose for con %p / %s\n", con, con->name); LOG("expose for con %p / %s\n", con, con->name);
if (con->window) if (con->window)