]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Upon ExposEvents, redraw decoration also for the window itself
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 26 Nov 2010 17:37:34 +0000 (18:37 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 26 Nov 2010 17:37:34 +0000 (18:37 +0100)
In the meantime, windows can have decorations (borders) on their own frame, too.

src/handlers.c

index 7e65af4d9fc3d29a6037fdf299aae01b683c8f5c..ce2b4e1691d879c3bda5c32414d0bc2ec6fee997 100644 (file)
@@ -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)