diff --git a/src/core/display.c b/src/core/display.c index 75f6f4334..bdf5a150c 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1489,44 +1489,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_x11_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 - void meta_display_sync_wayland_input_focus (MetaDisplay *display) { diff --git a/src/core/events.c b/src/core/events.c index ab58fd6c4..7741d8ef9 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -1512,11 +1512,6 @@ handle_other_xevent (MetaDisplay *display, event->xproperty.atom == display->atom__XKB_RULES_NAMES) reload_xkb_rules (display->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 diff --git a/src/meta/atomnames.h b/src/meta/atomnames.h index 46e1a664e..24b630420 100644 --- a/src/meta/atomnames.h +++ b/src/meta/atomnames.h @@ -179,10 +179,5 @@ item(_NET_WM_FRAME_DRAWN) item(_NET_WM_FRAME_TIMINGS) item(_NET_WM_WINDOW_OPACITY) -#if 0 -/* We apparently never use: */ -/* item(_NET_RESTACK_WINDOW) */ -#endif - /* eof atomnames.h */