gtk/gdk/wayland
Olivier Fourdan dbd0923b5f wayland: Avoid negative size constraints
Setting the shadow width earlier as done with commit 4cb1b96 to address
bug 771561 proved to cause unexpected side effects on size_allocate
signal propagation.

As the window is sized correctly earlier, the size_allocate signal is
not emitted again in gtk_widget_size_allocate_with_baseline() which
prevents clutter-gtk from relocating its child widget correctly.

To avoid this issue, revert commit 4cb1b96 but make sure the values
passed as min and max size is never negative in Wayland as this is a
protocol error.

With this, the min/max size will be wrong for a short amount of time,
during the state transition, until the shadow width is updated from
gdk_window_set_shadow_width().

This approach is much safer and less intrusive than changing the
size_allocate logic in gtk.

This reverts commit 4cb1b9645e.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=771915
2016-09-28 09:28:52 +02:00
..
protocol wayland: Get tiled state from gtk_shell instead of xdg_shell 2016-08-25 12:31:40 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c wayland: Clean up naming of GdkWaylandDisplay pointers 2016-04-26 08:38:18 -04:00
gdkdevice-wayland.c wayland: Replace g_debug by GDK_NOTE 2016-08-25 00:05:49 -04:00
gdkdisplay-wayland.c gdkdisplay-wayland: Fix some memory leaks 2016-09-08 11:34:13 +02:00
gdkdisplay-wayland.h wayland: Warn when an application tries to map popup incorrectly 2016-09-02 18:56:03 +08:00
gdkdnd-wayland.c gdk/dnd: Don't use default display when getting cursor 2016-04-26 23:03:24 +08:00
gdkeventsource.c gdk/wayland: use the multi-thread safe wayland API 2016-05-17 22:58:03 -04:00
gdkglcontext-wayland.c Remove an outdated comment 2016-08-19 23:24:08 -04:00
gdkglcontext-wayland.h gl: Drop profile for gdk_window_create_gl_context() 2015-02-12 12:34:28 +00:00
gdkkeys-wayland.c wayland: Avoid unitialized memory reads 2016-05-12 11:38:46 -04:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-wayland.h wayland: Make gdk_wayland_window_get_wl_output() private 2016-05-19 09:48:46 +02:00
gdkscreen-wayland.c wayland: Survive lack of settings 2016-05-19 07:38:33 -04:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c wayland: Add some more debug spew 2016-08-25 00:13:13 -04:00
gdkwayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylanddevice.h wayland: Offer wayland-specific method to set pad actions feedback 2016-08-23 21:01:45 +02:00
gdkwaylanddisplay.h wayland: Remove gdk_wayland_display_get_xdg_shell() 2016-08-25 12:31:40 +08:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h wayland: Add API for setting an exported as a parent 2016-08-29 13:20:44 -04:00
gdkwindow-wayland.c wayland: Avoid negative size constraints 2016-09-28 09:28:52 +02:00
Makefile.am wayland: Add API for creating exported window handles 2016-08-29 13:20:44 -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