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 gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout 2015-04-17 11:16:30 -05:00
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: Add support for g_autoptr() 2015-02-02 09:28:22 +01:00
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 Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkapplaunchcontextprivate.h
gdkcairo.c gdkcairo: Bail if surface is in error 2015-02-25 01:55:28 +01:00
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 Clean up the pre-configured gdkconfig.h.win32 2013-05-28 13:04:37 +08:00
gdkconfig.h.win32_broadway Add Visual Studio Build Support for Broadway 2013-08-02 11:20:19 +08:00
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 gdk: Add gdk_cursor_get_surface() 2013-08-07 13:34:10 +02:00
gdkdeprecated.c docs: use Returns: consistently 2014-02-19 18:56:05 -05:00
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 gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() 2015-12-15 00:40:21 +01:00
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 Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkdisplaymanagerprivate.h gdk: Unvfuncify gdk_display_manager_open_display() 2013-04-19 16:23:43 -04:00
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 gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel 2016-02-15 18:35:51 +01:00
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 Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
gdkframeclockidle.c frame clock: fix scheduling 2020-06-15 08:53:23 +02:00
gdkframeclockidle.h GdkFrameClockIdle: Add a missing declaration 2014-09-05 20:44:22 -04:00
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 Fix some oversights with header guards 2014-12-08 19:31:56 -05:00
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 Add GDK_GL env var and GdkGLFlags 2014-11-06 12:24:43 +01:00
gdkinternals.h Use native Windows API for converting keystrokes to characters 2020-07-16 15:01:47 +02:00
gdkintl.h
gdkkeynames.c Keep XF86 keysym names working 2013-04-19 20:11:39 -04:00
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 gdkkeys: Add support to _get_scroll_lock_state() 2015-04-27 20:07:52 -03:00
gdkkeysyms-compat.h gdk: update gdkkeysyms.h with ./gdkkeysyms-update.pl script 2020-07-21 13:22:04 -07:00
gdkkeysyms-update.pl gdkkeysyms-update: Remove workarounds for old bugs 2013-07-17 16:40:05 -04:00
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 Fix the fix to the last commit 2015-12-16 12:42:27 +00:00
gdkpixbuf.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
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 Trivial formatting fix 2014-08-30 00:53:21 -04:00
gdkproperty.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkrectangle.c Clarify docs for gdk_rectangle_union 2016-01-20 13:44:34 -05:00
gdkrectangle.h gdk: Add gdk_rectangle_equal() 2015-10-03 22:26:27 -04:00
gdkrgba.c RGBA: tiny grammar improvements in to_string doc 2018-12-17 20:16:42 +00:00
gdkrgba.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
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 Handle resolution changes in the GDK backend code 2014-07-13 15:35:23 -04:00
gdkseat.c gtk: rely on default marshallers 2019-05-31 11:12:29 -07:00
gdkseat.h GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS 2015-12-22 10:33:41 +01:00
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 Drop GDK_MULTIHEAD_SAFE 2014-06-11 21:55:15 -04:00
gdktestutils.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
gdkthreads.h Add GDK_AVAILABLE_IN_ALL annotations in gdk 2013-05-05 15:38:46 -04:00
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 gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
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 Fix key "Page_Down" identified as "Next" 2013-10-24 18:48:33 -04:00
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