libwnck-2.18.0-above.patch 675 B

12345678910111213141516
  1. diff -urN libwnck-2.16.3/libwnck/window.c libwnck/libwnck/window.c
  2. --- libwnck-2.16.3/libwnck/window.c 2007-01-29 15:56:52.000000000 -0600
  3. +++ libwnck/libwnck/window.c 2007-01-30 05:54:39.000000000 -0600
  4. @@ -2204,6 +2204,12 @@
  5. window->priv->actions |=
  6. WNCK_WINDOW_ACTION_MAXIMIZE |
  7. WNCK_WINDOW_ACTION_UNMAXIMIZE;
  8. +
  9. + /* There's no _NET_WM_ACTION_ABOVE hint so always add it if
  10. + window manager claims to support_NET_WM_STATE_ABOVE */
  11. + if (wnck_screen_net_wm_supports (wnck_window_get_screen (window),
  12. + "_NET_WM_STATE_ABOVE"))
  13. + window->priv->actions |= WNCK_WINDOW_ACTION_ABOVE;
  14. }
  15. static void