diff options
author | Christian Hammond <chipx86@chipx86.com> | 2011-01-19 09:06:02 -0500 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2011-01-19 09:09:49 -0500 |
commit | 0b5a50c85095a426f7070c5c8fe0af285ac02f62 (patch) | |
tree | 64687e0cadcd819f6c5bd9ec8e69eb869ff58279 /src/core/display.c | |
parent | ef0a601819fd0b10932b7ffb1babcbce7ac29daf (diff) | |
download | metacity-0b5a50c85095a426f7070c5c8fe0af285ac02f62.tar.gz |
Honour _NET_RESTACK_WINDOW and sibling-relative stacking
A test case for this patch is available at
https://view.svn.sourceforge.net/svnroot/view/trunk/wm-test-suite/
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/core/display.c b/src/core/display.c index b59571d5..e816823a 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1358,44 +1358,6 @@ meta_display_queue_autoraise_callback (MetaDisplay *display, display->autoraise_window = window; } -#if 0 -static void -handle_net_restack_window (MetaDisplay* display, - XEvent *event) -{ - MetaWindow *window; - - window = meta_display_lookup_x_window (display, - event->xclient.window); - - if (window) - { - /* FIXME: The EWMH includes a sibling for the restack request, but we - * (stupidly) don't currently support these types of raises. - * - * Also, unconditionally following these is REALLY stupid--we should - * combine this code with the stuff in - * meta_window_configure_request() which is smart about whether to - * follow the request or do something else (though not smart enough - * and is also too stupid to handle the sibling stuff). - */ - switch (event->xclient.data.l[2]) - { - case Above: - meta_window_raise (window); - break; - case Below: - meta_window_lower (window); - break; - case TopIf: - case BottomIf: - case Opposite: - break; - } - } -} -#endif - /** * This is the most important function in the whole program. It is the heart, * it is the nexus, it is the Grand Central Station of Metacity's world. @@ -2171,11 +2133,6 @@ event_callback (XEvent *event, else if (event->xproperty.atom == display->atom__NET_DESKTOP_NAMES) meta_screen_update_workspace_names (screen); -#if 0 - else if (event->xproperty.atom == - display->atom__NET_RESTACK_WINDOW) - handle_net_restack_window (display, event); -#endif /* we just use this property as a sentinel to avoid * certain race conditions. See the comment for the |