summaryrefslogtreecommitdiff
path: root/src/display.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-08-19 02:05:24 +0000
committerHavoc Pennington <hp@src.gnome.org>2004-08-19 02:05:24 +0000
commit06a58f43c0b58ab15a3e40e93b16f2c0e128af23 (patch)
tree5160878a04dbf76aed4789becaa6cb14a4b8a37d /src/display.h
parente81b5978b08ccfe9667f3abf4902899d654036ca (diff)
downloadmetacity-06a58f43c0b58ab15a3e40e93b16f2c0e128af23.tar.gz
track the last_xor_rect separately from the current window size, and then
2004-08-18 Havoc Pennington <hp@redhat.com> * src/display.h (struct _MetaDisplay): track the last_xor_rect separately from the current window size, and then use that to paint the wireframe including the frame, and taking into account shaded windows. * src/window.c (meta_window_get_xor_rect): new function to compute the xor rect; it is not really 100% right, because it uses the frame dimensions from the window at the start of the move/resize. But probably won't break in practice.
Diffstat (limited to 'src/display.h')
-rw-r--r--src/display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/display.h b/src/display.h
index 174f0538..a81445c8 100644
--- a/src/display.h
+++ b/src/display.h
@@ -250,6 +250,7 @@ struct _MetaDisplay
guint grab_wireframe_active : 1;
guint grab_was_cancelled : 1;
MetaRectangle grab_wireframe_rect;
+ MetaRectangle grab_wireframe_last_xor_rect;
MetaRectangle grab_initial_window_pos;
MetaResizePopup *grab_resize_popup;
GTimeVal grab_last_moveresize_time;