gtk2/gdk/wayland
Carlos Garnacho 44c412ecc7 wayland: Pass shadow width to the compositor
Use xdg_surface_set_window_geometry() to tell the compositor about the
shadow widths, this makes some gnome-shell/mutter features (edge resistance,
frames around windows in the overview, side maximization, ...) work alright
with GTK+.

In order to add this, some other places in gdkwindow-wayland had to gain
some knowledge about margins:

- xdg_surface_configure() now syncs the shadow after applying the state,
  and gdk_wayland_window_set_shadow_width() possibly reconfigures the
  window in order to preserve window geometry. This is necessary to keep
  shadows in sync with state/geometry changes, as this does not happen
  all at once.
- xdg_popups relative to an xdg_surface are shown relative to buffer
  coordinates, so the left/top margins must be added there.

https://bugzilla.gnome.org/show_bug.cgi?id=736742
2014-11-23 13:11:08 +01:00
..
protocol xdg-shell: Bump version 2014-08-22 12:06:09 -04:00
gdkapplaunchcontext-wayland.c Wayland: Fix various compiler warnings 2014-09-05 20:41:06 -04:00
gdkcursor-wayland.c configure.ac: Depend on cairo 1.14.0 2014-11-10 15:12:17 +00:00
gdkdevice-wayland.c wayland: Emit GDK_OWNER_CHANGE events around wl_data_offer changes 2014-10-29 18:33:48 +01:00
gdkdisplay-wayland.c configure.ac: Depend on cairo 1.14.0 2014-11-10 15:12:17 +00:00
gdkdisplay-wayland.h gl: Make all user GdkGLContexts not attached to any window 2014-10-13 10:43:31 -04:00
gdkdnd-wayland.c wayland: Don't use the default display 2014-10-27 22:29:41 -07:00
gdkeventsource.c Handle recursion from motion event handlers 2013-11-11 23:17:14 -05:00
gdkglcontext-wayland.c GdkGLContext: Remove unused update vfunc 2014-11-20 12:38:04 +01:00
gdkglcontext-wayland.h GdkGLContext: Change the way we track the current context 2014-10-30 12:43:03 +01:00
gdkkeys-wayland.c Wayland: Fix various compiler warnings 2014-09-05 20:41:06 -04:00
gdkprivate-wayland.h wayland: Don't use the default display 2014-10-27 22:29:41 -07:00
gdkscreen-wayland.c wayland: Set GdkVisual::bits_per_rgb to 8 2014-10-13 10:43:31 -04:00
gdkselection-wayland.c wayland: Don't use the default display 2014-10-27 22:29:41 -07:00
gdkwayland.h wayland: Add OpenGL support 2014-10-13 10:43:31 -04:00
gdkwaylanddevice.h
gdkwaylanddisplay.h wayland: fix rename of wl_shell to xdg_shell 2014-01-20 14:37:33 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandselection.h wayland: Don't use the default display 2014-10-27 22:29:41 -07:00
gdkwaylandwindow.h wayland: Replace wl_shell_surface with xdg_shell 2013-11-18 13:44:20 -05:00
gdkwindow-wayland.c wayland: Pass shadow width to the compositor 2014-11-23 13:11:08 +01:00
Makefile.am wayland: Add OpenGL support 2014-10-13 10:43:31 -04:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00