gtk2/gdk/x11
Jonas Ådahl 2ff74eb667 gdk/toplevel: Negotiate surface size via a compute-size signal
GTK will not up front know how to correctly calculate a size, since it
will not be able to reliably predict the constraints that may exist
where it will be mapped.

Thus, to handle this, calculate the size of the toplevel by having GDK
emitting a signal called 'compute-size' that will contain information
needed for computing a toplevel window size.

This signal may be emitted at any time, e.g. during
gdk_toplevel_present(), or spontaneously if constraints change.

This also drops the max size from the toplevel layout, while moving the
min size from the toplevel layout struct to the struct passed via the
signal,

This needs changes to a test case where we make sure we process
GDK_CONFIGURE etc, which means we also needs to show the window and
process all pending events in the test-focus-chain test case.
2020-08-05 15:49:00 +02:00
..
gdkapplaunchcontext-x11.c x11: Stop using GTimeVal 2020-07-31 10:58:53 -04:00
gdkasync.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkasync.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkcairocontext-x11.c Get rid of GdkSurfaceImpl 2019-05-28 20:25:14 +00:00
gdkcairocontext-x11.h
gdkclipboard-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkclipboard-x11.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkcursor-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdevice-xi2.c gdk/x11: Make device type a X11 detail 2020-07-30 18:30:13 +02:00
gdkdevicemanager-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkdevicemanager-xi2.c gdk/x11: Make device type a X11 detail 2020-07-30 18:30:13 +02:00
gdkdevicemanagerprivate-core.h
gdkdisplay-x11.c x11: Ignore stray DestroyNotify events 2020-08-02 22:45:28 -04:00
gdkdisplay-x11.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkdrag-x11.c gdk/x11: Avoid gdk_device_get_associated_device() 2020-07-30 18:19:44 +02:00
gdkdrop-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkeventsource.c gdk: Conflate GDK devices 2020-07-29 01:27:51 +02:00
gdkeventsource.h
gdkeventtranslator.c x11: change event translator interface 2020-02-21 00:47:51 -05:00
gdkeventtranslator.h gdk: Drop the GdkEventMask enum 2020-05-26 19:39:31 -04:00
gdkglcontext-x11.c gdk/x11: Add annotations to improve GIR API 2020-07-31 20:56:36 +02:00
gdkglcontext-x11.h x11: Defer _NET_WM_FRAME_DRAWN update until frame usable by compositor 2020-06-05 10:01:13 -04:00
gdkkeys-x11.c gdk: Improve struct packing in places 2020-07-25 11:57:37 -04:00
gdkkeys-x11.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkmain-x11.c gdk: Rename gdk_seat_get_physical_devices() to gdk_seat_get_devices() 2020-07-30 18:44:40 +02:00
gdkmonitor-x11.c gdk/x11: Add annotations to improve GIR API 2020-07-31 20:56:36 +02:00
gdkmonitor-x11.h
gdkprivate-x11.h Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkproperty-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkscreen-x11.c x11: Stop using GTimeVal 2020-07-31 10:58:53 -04:00
gdkscreen-x11.h x11: Stop using GTimeVal 2020-07-31 10:58:53 -04:00
gdkselection-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkselectioninputstream-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkselectioninputstream-x11.h
gdkselectionoutputstream-x11.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkselectionoutputstream-x11.h
gdksettings.c Add a gtk-overlay-scrolling setting 2019-05-31 14:07:15 +00:00
gdksurface-x11.c gdk/toplevel: Negotiate surface size via a compute-size signal 2020-08-05 15:49:00 +02:00
gdksurface-x11.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdktextlistconverter-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdktextlistconverter-x11.h
gdkvisual-x11.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkvisual-x11.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkvulkancontext-x11.c Fix minor typos 2020-05-28 11:00:03 +03:00
gdkvulkancontext-x11.h
gdkx11applaunchcontext.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11device-xi2.h gdk/x11: Make device type a X11 detail 2020-07-30 18:30:13 +02:00
gdkx11device.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11devicemanager-xi2.h
gdkx11devicemanager.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11display.h gdk/x11: Add annotations to improve GIR API 2020-07-31 20:56:36 +02:00
gdkx11dnd.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx11glcontext.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11monitor.h gdk/monitor: Remove gdk_monitor_work_area and GdkMonitor::work-area 2020-07-29 17:57:30 +02:00
gdkx11property.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11screen.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gdkx11selection.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11surface.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
gdkx11utils.h Use a single compilation symbol 2019-11-27 13:33:43 +00:00
gdkx-autocleanups.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkx.h gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
gdkxftdefaults.c Replace "gdouble" with "double" 2020-07-25 00:47:36 +02:00
gdkxid.c x11: Stop using child surface api 2019-05-28 20:25:13 +00:00
meson.build x11: Add back support for the damage extension 2020-06-05 10:01:13 -04:00
MwmUtil.h
xsettings-client.c x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00
xsettings-client.h x11: Don't pass a GdkEvent to xsettings filters 2020-02-21 00:40:52 -05:00