gtk2/gdk
Jonas Ådahl a184b5bf51 wayland: Emit dummy configure event when resizing while fixed
When a fixed size is active (e.g. the window is maximized),
gtk_window_resize() shouldn't take immediate effect, so the request was
dropped. This made GTK unhappy if this happened, it will freeze updating
the window until it received the new size it demanded.

Handle this by being nice and emitting a dummy GDK_CONFIGURE event with
the old size where we previously ignored it. It won't resize the window
immediately, so it shouldn't have a visible effect, and the size GTK
requested is still saved away for when the window is unmaximized, but
emitting the event will make GTK receive the event it expects.

We still drop the request on the floor, e.g. if we still haven't seen
the initial configuration, just as we do when actually doing the resize.

Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2907
2020-09-07 17:57:32 +02:00
..
broadway Visual Studio projects: move projects to win32/ 2020-07-16 18:57:03 +08:00
deprecated
quartz Accommodate macOS 11.0 Big Sur in gdk_quartz_osx_version. 2020-08-11 17:08:53 -07:00
resources/glsl Use GLSL 3.30 shaders 2019-03-27 16:03:43 +00:00
wayland wayland: Emit dummy configure event when resizing while fixed 2020-09-07 17:57:32 +02:00
win32 Merge branch 'move-msvc-projects' into 'gtk-3-24' 2020-07-24 02:43:18 +00:00
x11 force redraw in glareawhen buffer_age is 0 2020-05-10 21:21:08 +02:00
COPYING
fallback-c89.c fallback-c89: Include config.h 2017-05-22 14:26:32 +01:00
gdk-autocleanup.h
gdk-private.c gdk: backport GdkProfiler 2019-06-06 17:17:20 -07:00
gdk-private.h gdk: backport GdkProfiler 2019-06-06 17:17:20 -07:00
gdk.c docs: Remove redundant gtk-doc stanza 2020-03-13 15:51:57 +00:00
gdk.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkapplaunchcontext.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c
gdkcairo.h gdk: Deprecate gdk_cairo_create() 2016-06-09 17:45:40 +01:00
gdkconfig.h.meson Fix gdkconfig.h generation for GDK_WINDOWING_QUARTZ 2019-07-20 15:10:34 +08:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkconstructor.h gdk: Include copy of glib/gconstructor.h 2019-03-17 21:50:35 +01:00
gdkcursor.c Update cursor docs 2016-05-17 14:16:39 -04:00
gdkcursor.h gdk: Add deprecated for macro for gdk_cursor_new 2018-11-17 21:23:40 +13:00
gdkcursorprivate.h
gdkdeprecated.c
gdkdevice.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gdkdevice.h gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices 2016-08-23 21:01:44 +02:00
gdkdevicemanager.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gdkdevicemanager.h
gdkdevicemanagerprivate.h
gdkdevicepad.c gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepad.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h gdk: Add a private getter for GdkDevice::input-mode 2016-04-30 20:52:23 -04:00
gdkdevicetool.c gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdevicetool.h gdk: Add a getter for the hardware id of a GdkDeviceTool 2016-08-23 21:01:44 +02:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c gdk: Keep a reference on the last source device 2020-08-31 15:43:54 +02:00
gdkdisplay.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkdisplaymanager.c Merge branch 'no-objc' into 'gtk-3-24' 2019-11-27 13:39:40 +00:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h display: Add vfunc for get_monitor_at_window 2016-05-18 19:07:27 +02:00
gdkdnd.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gdkdnd.h
gdkdndprivate.h gdk/dnd: Don't use default display when getting cursor 2016-04-26 23:03:24 +08:00
gdkdrawingcontext.c gdk: Unset the DrawingContext <-> cairo_t link on dispose 2016-06-12 18:55:34 +01:00
gdkdrawingcontext.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkdrawingcontextprivate.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkenumtypes.c.template Use g_once for all the mkenums template files 2019-05-21 10:46:04 -05:00
gdkenumtypes.h.template meson: mkenums: only write basenames in the comments 2019-04-11 16:45:36 +02:00
gdkevents.c Formatting 2020-07-16 15:01:50 +02:00
gdkevents.h Annotate values of PRIORITY constants 2018-12-22 13:17:58 +01:00
gdkframeclock.c frame-clock: New approach in smoothing frame clock 2020-05-28 17:10:14 +02:00
gdkframeclock.h
gdkframeclockidle.c frame clock: fix scheduling 2020-06-15 08:53:23 +02:00
gdkframeclockidle.h
gdkframeclockprivate.h frame-clock: New approach in smoothing frame clock 2020-05-28 17:10:14 +02:00
gdkframetimings.c frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.h
gdkgl.c Add a EGL renderer (via ANGLE) for Windows 2018-06-28 15:33:42 +08:00
gdkglcontext.c Fixed OpenGL extension detection for extensions promoted to OpenGL core. 2020-02-14 17:51:22 +11:00
gdkglcontext.h gdk/gl: Allow autodetection for GL/GLES 2016-10-21 11:41:43 -04:00
gdkglcontextprivate.h gl: Use a uniform to flip R and B colors on GLES 2016-04-25 14:33:36 +01:00
gdkglobals.c
gdkinternals.h Use native Windows API for converting keystrokes to characters 2020-07-16 15:01:47 +02:00
gdkintl.h
gdkkeynames.c
gdkkeys.c marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used 2019-05-29 13:30:15 -07:00
gdkkeys.h Add some deprecation annotations 2017-12-25 23:00:30 -05:00
gdkkeysprivate.h
gdkkeysyms-compat.h gdk: update gdkkeysyms.h with ./gdkkeysyms-update.pl script 2020-07-21 13:22:04 -07:00
gdkkeysyms-update.pl
gdkkeysyms.h gdk: update gdkkeysyms.h with ./gdkkeysyms-update.pl script 2020-07-21 13:22:04 -07:00
gdkkeyuni.c GDK W32: Cache multiple keyboard layouts simultaneously 2016-08-04 16:37:18 +00:00
gdkmain.h Add some deprecation annotations 2017-12-25 23:00:30 -05:00
gdkmarshalers.list gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkmonitor.c gdk: x11: Fill GdkMonitor manufacturer with PNP id from EDID 2019-06-26 12:07:52 +03:00
gdkmonitor.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkmonitorprivate.h Add private getter for a monitor connector 2019-06-20 22:51:47 +01:00
gdkoffscreenwindow.c Fix function signature 2020-04-23 19:21:36 +02:00
gdkpango.c Add docs for new API 2016-04-18 11:46:58 -04:00
gdkpango.h Add gdk_pango_context_get_for_display 2016-04-18 07:04:44 -04:00
gdkpixbuf-drawable.c
gdkpixbuf.h
gdkprivate.h Make gdk_event_get_pointer_emulated public 2016-05-10 15:16:45 -04:00
gdkprofiler.c gdk: backport GdkProfiler 2019-06-06 17:17:20 -07:00
gdkprofilerprivate.h gdk: backport GdkProfiler 2019-06-06 17:17:20 -07:00
gdkproperty.c
gdkproperty.h
gdkrectangle.c
gdkrectangle.h
gdkrgba.c RGBA: tiny grammar improvements in to_string doc 2018-12-17 20:16:42 +00:00
gdkrgba.h
gdkscreen.c Fix regression in GdkScreen.get_monitor_plug_name() 2019-06-20 22:51:47 +01:00
gdkscreen.h Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkscreenprivate.h
gdkseat.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gdkseat.h
gdkseatdefault.c gdkseatdefault: Unref removed slave devices 2020-01-27 01:48:37 +01:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h x11: make the tool lookup dependent on the hw id as well 2018-12-18 10:48:03 +10:00
gdkselection.c gdkselection: Clarify that X is only a design base 2018-04-22 16:11:01 +01:00
gdkselection.h
gdktestutils.h
gdkthreads.h
gdktypes.h gdk: Fix GDK_ALL_EVENTS_MASK 2017-11-13 23:42:51 +01:00
gdkversionmacros.h.in gdk: Add GDK_DEPRECATED_IN_3_24() macros 2018-07-24 20:32:26 +02:00
gdkvisual.c visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisual.h visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisualprivate.h
gdkwindow.c gdk: Keep a reference on the last source device 2020-08-31 15:43:54 +02:00
gdkwindow.h gdk: Make gdk_window_move_to_rect public 2018-06-05 15:01:52 +02:00
gdkwindowimpl.c gdkwindow: Use toplevel for getting root cords in move_to_rect() 2016-08-18 04:51:57 -04:00
gdkwindowimpl.h gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkx.h
gen-gdk-gresources-xml.py build: always use utf-8 when reading/writing text files 2019-06-25 08:53:26 +02:00
gen-keyname-table.pl
keyname-table.h gdk: Translate some more key names 2017-10-09 20:31:58 +02:00
keynames-translate.txt gdk: Translate some more key names 2017-10-09 20:31:58 +02:00
keynames.txt
Makefile.am Visual Studio projects: move projects to win32/ 2020-07-16 18:57:03 +08:00
makefile.msc
meson.build build: Don't hardcode shared_library() in meson. 2019-11-18 03:31:20 +01:00