From 962fe075b957bb91574e14e57cc3f79e8149c913 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 26 Nov 2010 18:37:34 +0100 Subject: [PATCH] Bugfix: Upon ExposEvents, redraw decoration also for the window itself In the meantime, windows can have decorations (borders) on their own frame, too. --- src/handlers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/handlers.c b/src/handlers.c index 7e65af4d..ce2b4e16 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -609,6 +609,9 @@ int handle_expose_event(void *data, xcb_connection_t *conn, xcb_expose_event_t * return 1; } + if (parent->window) + x_draw_decoration(parent); + TAILQ_FOREACH(con, &(parent->nodes_head), nodes) { LOG("expose for con %p / %s\n", con, con->name); if (con->window)