x11/window: Implement _NET_RESTACK_WINDOW and XConfigureRequestEvent sibling

Implement _NET_RESTACK_WINDOW, based on metacity commit 0b5a50c8.

Also respect "above" field (sibling) of XConfigureRequestEvent. When it is
set, perform a stack operation relative to that sibling.

https://bugzilla.gnome.org/show_bug.cgi?id=786363
https://bugzilla.gnome.org/show_bug.cgi?id=786365
This commit is contained in:
Vasilis Liaskovitis
2017-09-29 16:57:22 +02:00
committed by Rui Matos
parent 2c85bb4178
commit e3d59832c5
4 changed files with 99 additions and 15 deletions

View File

@@ -682,6 +682,9 @@ void meta_window_frame_size_changed (MetaWindow *window);
void meta_window_stack_just_below (MetaWindow *window,
MetaWindow *below_this_one);
void meta_window_stack_just_above (MetaWindow *window,
MetaWindow *above_this_one);
void meta_window_set_user_time (MetaWindow *window,
guint32 timestamp);