- 04 Feb, 2023 3 commits
-
-
Piotr Drąg authored
-
Matthias Clasen authored
input: Drop legacy text input module See merge request !5476
-
Carlos Garnacho authored
This wayland protocol was merely some scaffolding until the text_input protocol shaped up and took over. Nowadays this could only ever help with really old versions of Mutter (pre 3.28). This can be simply removed nowadays.
-
- 28 Jan, 2023 6 commits
-
-
Matthias Clasen authored
Fixes incorrect grabbing behaviour causing subsequent rejection of input See merge request !5212
-
hrdl authored
-
Matthias Clasen authored
Revert "Revert "wayland: Add support for gtk_surface1_titlebar_gesture()"" See merge request !5452
-
Alexander Mikhaylenko authored
This reverts commit 5aaa373b
-
Matthias Clasen authored
Revert "wayland: Add support for gtk_surface1_titlebar_gesture()" See merge request !5451
-
Matthias Clasen authored
This reverts commit 45ba6e93. This caused regressions in libhandy-using applications. Fixes: #5389
-
- 27 Jan, 2023 4 commits
-
-
Carlos Garnacho authored
Backport "gdk/wayland: set requesting surface to xdg-activation" to gtk-3-24 See merge request !5398
-
Matthias Clasen authored
gl: Synchronize when calling MakeCurrent See merge request !5448
-
The argument to xdg_activation_token_v1_set_surface is documented to be the surface requesting the activation, not the surface to be activated, which is given later when calling xdg_activation_v1_activate. (c.f. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/commit/36cee4bdbcaf3a75f567315809953b5e21d703da) Use the same logic as in gdk_wayland_app_launch_context_get_startup_notify_id, i.e. if we have a surface with focus, set that, otherwise set NULL. This fixes requesting urgent/focus on wlroots (compositors like Sway, etc.), which was blocked as the surface requesting the activation didn't have focus. Backport of: 43c1a433 Signed-off-by:
Joan Bruguera <joanbrugueram@gmail.com>
-
Matthias Clasen authored
When making out GL context current, wait until the GPU is done with commands from the previous context. Fixes: #5517
-
- 25 Jan, 2023 6 commits
-
-
Matthias Clasen authored
Consider startup vs focus requests for the Wayland platform [3.24] See merge request !5443
-
Carlos Garnacho authored
This should do nothing worthwhile anymore, the X11/Wayland GtkApplication implementations do already pass the startup ID from the platform_data via windowing specific APIs, and the application handling the request via show()/present() should trigger the activation request. (cherry-picked from commit 3526d8b2)
-
Carlos Garnacho authored
While this used to be tangential to windows showing or requesting focus, the xdg-activation Wayland protocol does merge both concepts together. But also, for a correct interaction with the compositor, the toolkit should ideally merge the activation request resulting from both into the same one, so that the gdk_window_focus() request replies to the startup token that started the application and correct focus-stealing prevention/etc happens, instead making up one just in time for the focus request. This kind of requires doing things in the right order, a show() request on the GtkWindow should activate any pending activation token on the toplevel, a present() request should additionally create a new token if there was none pending. And xdg_activation_v1_activate() should happen once on both. Shuffle the gdk_window_set_startup_id() calls so that this happens in the right order for Wayland, while making X11 happy too. (cherry-picked from commit e8adfa2a)
-
Carlos Garnacho authored
In the way towards deprecating gdk_display_notify_startup_complete(), make gdk_toplevel_set_startup_id() on X11 perform this piece of messaging itself. It should be harmless that the message is emitted twice, if callers do still use that API. (cherry-picked from commit 7fab1b85)
-
Carlos Garnacho authored
This call has everything to perform activation as specified by the xdg_activation protocol, notably a surface to activate as opposed to gdk_notify_startup_complete(). Make activation happen here, so that the surface gets activated when its gets a startup ID assigned. (cherry-picked from commit 5aeabdb3)
-
Carlos Garnacho authored
Move the handling of the startup ID to a separate function, since this will be called from several places. (cherry-picked from commit 6f01f846)
-
- 22 Jan, 2023 1 commit
-
-
Matthias Clasen authored
Take UI scale into acount when loading "image-missing" fallback See merge request !5438
-
- 21 Jan, 2023 1 commit
-
-
Brian Tarricone authored
Fallback icons loaded were loading at half size (for a 2x scale) and for cases where it mattered, were being positioned off-center.
-
- 19 Jan, 2023 2 commits
-
-
-
John Ralls authored
The cairo surface must be padded to 4 pixels in order to transfer correctly to the GPU. The GdkWindow and GdkNSView's content frame must be the same width, otherwise there's a mismatch that causes either the GdkWindow to draw wider than the frame or the frame to be clipped narrower than the title bar. Fixes #5535.
-
- 13 Jan, 2023 1 commit
- 11 Jan, 2023 1 commit
-
-
- 08 Jan, 2023 1 commit
-
-
Matthias Clasen authored
Backport "filechoosernativewin32: Set default extension" See merge request !5403
-
- 07 Jan, 2023 1 commit
-
-
robxnano authored
Setting the default extension before a filter is selected allows the IFileDialog to automatically change the extension when the filter is changed. See: https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-setdefaultextension
-
- 06 Jan, 2023 1 commit
-
-
John Ralls authored
-
- 05 Jan, 2023 2 commits
-
-
- 03 Jan, 2023 4 commits
-
-
Emmanuele Bassi authored
Treat XKB_MOD_NAME_LOGO as super key See merge request !5387
-
Thomas Jost authored
Loosely based on !5304, which fixes #4913 for GTK3.
-
Thomas Jost authored
-
Matthias Clasen authored
build: Fix build_gir logic See merge request !5371
-
- 27 Dec, 2022 1 commit
-
-
Thomas Staudinger authored
-
- 22 Dec, 2022 4 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
This reverts commit 3a871c91. This broke one of our tests.
-
Matthias Clasen authored
clipboard: improve EOL conversion of plain text See merge request !5366
-
ignazp authored
Handle the case of clipboard text with CR line endings
-
- 20 Dec, 2022 1 commit
-
-
Matthias Clasen authored
[GTK3] gtkimcontextwayland: Convert byte based offset to char based offset in delete_surrounding_text See merge request !5255
-