diff options
author | Gary Wong <gtw@flux.utah.edu> | 2010-11-05 17:36:43 -0600 |
---|---|---|
committer | Gary Wong <gtw@flux.utah.edu> | 2010-11-05 17:39:32 -0600 |
commit | 4c373f89d60630cc69e6ab4156734f1b3a431aec (patch) | |
tree | 21c14cc653793e5c442baa1910a267321d3eb4ce /decorate-core.c | |
parent | 3a66e2dea0eab259d3bc024309cd71b854f7c97f (diff) |
Don't attempt to update childless frames.
Diffstat (limited to 'decorate-core.c')
-rw-r--r-- | decorate-core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decorate-core.c b/decorate-core.c index 9e5d6b1..0c9efa1 100644 --- a/decorate-core.c +++ b/decorate-core.c @@ -98,6 +98,9 @@ static xcb_void_cookie_t core_text( xcb_drawable_t drawable, int screen, extern void core_update_window( struct gwm_window *window ) { + if( window->type == WINDOW_CHILDLESS ) + return; + if( !window->cleared ) xcb_clear_area( c, FALSE, window->w, window->update.x, window->update.y, window->update.width, window->update.height ); |