summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2009-06-13 16:45:32 -0400
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-02-27 17:03:09 +0200
commit87016497b5d9b73767f8aa0cedbaad757f96e9f4 (patch)
treed496d30b8916f3a5c76981800ac3a9b328f463d7 /src/include
parentd25ab33a8b19ad034582afe75179f83faf09f64e (diff)
downloadmetacity-87016497b5d9b73767f8aa0cedbaad757f96e9f4.tar.gz
add better tracking of real stacking order
Wedging override-redirect windows into the constraint code in stack.c results in Mutter getting confused about the stacking order of these windows with respect to other windows, and may also in some cases cause Mutter to restack override-redirect windows. core/stack-tracker.c core/stack-tracker.h: MetaStackTracker - combine events received from the X server with local changes we have made to come up with the best possible idea of what the stacking order is at any one point in time. core/screen.c core/screen-private.h: Create a MetaStackTracker for the screen. core/display.c: Feed relevant events to MetaStackTracker core/frame.c core/screen.c core/stack.c: When we make changes to the stacking order or add windows, record those changes immediatley in MetaStackTracker so we have the information without waiting for a round-trip. include/ui.h ui/ui.c: meta_ui_create_frame_window add a return value for the X request serial used to create the window. http://bugzilla.gnome.org/show_bug.cgi?id=585984
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ui.h b/src/include/ui.h
index 1045230d..9899e945 100644
--- a/src/include/ui.h
+++ b/src/include/ui.h
@@ -77,7 +77,8 @@ Window meta_ui_create_frame_window (MetaUI *ui,
gint x,
gint y,
gint width,
- gint height);
+ gint height,
+ gulong *create_serial);
void meta_ui_destroy_frame_window (MetaUI *ui,
Window xwindow);