diff options
Diffstat (limited to 'src/core/window.c')
-rw-r--r-- | src/core/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index bf1b53e4..a1ed1346 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -4007,6 +4007,9 @@ meta_window_begin_wireframe (MetaWindow *window) MetaRectangle new_xor; int display_width, display_height; + display_width = 0; + display_height = 0; + meta_window_get_client_root_coords (window, &window->display->grab_wireframe_rect); @@ -4033,6 +4036,9 @@ meta_window_update_wireframe (MetaWindow *window, MetaRectangle new_xor; int display_width, display_height; + display_width = 0; + display_height = 0; + window->display->grab_wireframe_rect.x = x; window->display->grab_wireframe_rect.y = y; window->display->grab_wireframe_rect.width = width; |