- 21 May, 2022 1 commit
-
-
Matthias Clasen authored
quartz: Use CALayer to back GdkQuartzView See merge request !4728
-
- 20 May, 2022 1 commit
-
-
John Ralls authored
To prevent leaking cairo surfaces while persisting the parts that don't need to be redrawn.
-
- 19 May, 2022 4 commits
-
-
John Ralls authored
-
John Ralls authored
-
John Ralls authored
-
John Ralls authored
This uses CVDisplayLink to drive the GdkFrameClock. A GdkWindow can register a frame callback to thaw their frame clock as necessary based on the next notification from CVDisplayLink. CVDisplayLink notifies us on a high-priority thread. We use the same NSEventas gdkeventloop-quartz.c to wakeup the main loop. This is done so that we don’t pathologically wake up the select thread to then continue notifying the main loop. We use an embedded GList node in the GdkWindowImplQuartz so that we can avoid allocating any lists or arrays for pending frame callbacks. Compare this to the same design in GdkWindow for children.
-
- 18 May, 2022 1 commit
-
-
Matthias Clasen authored
-
- 05 May, 2022 4 commits
-
-
John Ralls authored
Now that we have a frame clock in place, we should be able to drop the beam-sync penalty prevention code as we should be aligning our draws with CVDisplayLink. Originally by Christian Hergert <chergert@redhat.com>, flushWindow corrections and improvements by John Ralls.
-
We don’t care about the other enums, fine to squash the warning.
-
John Ralls authored
-
John Ralls authored
-
- 03 May, 2022 3 commits
-
-
Matthias Clasen authored
gtkimagedefinition: Check array bounds See merge request !4677
-
Matthias Clasen authored
gtk/imwayland: Use serial to control outbound messages See merge request !4682
-
Matthias Clasen authored
[3.24] x11: Trap errors happening when getting output properties See merge request !4680
-
- 02 May, 2022 4 commits
-
-
Carlos Garnacho authored
If we get consecutive preedit string updates that announce a NULL string, we still do end up issuing ::preedit-changed with those. Ignore changes from NULL to NULL, it is the other combinations which must issue this signal.
-
Carlos Garnacho authored
For reasons that only apply to the old serial handling, asking for the surrounding after IM changes resulted in lazy handling of commit() afterwards. With the recent interpretation of serials, this problem became more apparent, since it is in fact very likely that the last interaction step after an IM change is notifying of the changed surrounding text after the IM change was applied. Make handling of surrounding text similar to caret position changes, always commit() after the state change, but skip through non-changes. This makes the compositor state fully up-to-date after an IM change. (cherry-picked from commit eb7c78aa)
-
Carlos Garnacho authored
Following the text-input protocol changes at https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/115, use the serial number to have the client push changes to the zwp_text_input_v3 object only after compositor/client states match. This specifically is more lenient to compositors pushing multiple .done events ahead of the client replying to them. (cherry-picked from commit f108f053) Fixes: #4853
-
Jonas Ådahl authored
This is to avoid getting X11 errors (thus aborting/exiting with a failure) during rapid hotplugs, which may happen during e.g. CI testing.
-
- 30 Apr, 2022 2 commits
-
-
Peter Bloomfield authored
Similarly, uses casts in `gtk_image_definition_unref()`. Compilation succeeds without them, unlike in `gtk_image_definition_ref()`, because `gtk_image_definition_unref()` is not called internally, unlike `gtk_image_definition_ref()`. But the build would fail if some function defined in the module were changed in the future to call `gtk_image_definition_unref()`, and we can future-proof it now. This also removes an inconsistency in how we access the members of the union.
-
Peter Bloomfield authored
`jhbuild build gtk+-3` with GCC 12 fails with: ``` In function ‘gtk_image_definition_ref’, inlined from ‘gtk_image_definition_new_empty’ at ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:107:10: ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:241:13: error: array subscript ‘GtkImageDefinition {aka union _GtkImageDefinition}[0]’ is partly outside array bounds of ‘GtkImageDefinitionEmpty[1]’ {aka ‘struct _GtkImageDefinitionEmpty[1]’} [-Werror=array-bounds] 241 | def->empty.ref_count++; | ~~~~~~~~~~^~~~~~~~~~ ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c: In function ‘gtk_image_definition_new_empty’: ../../../../jhbuild/checkout/gtk+-3/gtk/gtkimagedefinition.c:105:34: note: object ‘empty’ of size 8 105 | static GtkImageDefinitionEmpty empty = { GTK_IMAGE_EMPTY, 1 }; | ^~~~~ ``` and many similar errors. Fix it by casting `GtkImageDefinition` to `GtkImageDefinitionEmpty` or similar, as appropriate. Essentially backports 4dcd02e8 from main to gtk-3-24.
-
- 08 Apr, 2022 2 commits
-
-
- 02 Apr, 2022 1 commit
-
-
Matthias Clasen authored
gtkfilechooser: add missing nullable annotation See merge request !4610
-
- 01 Apr, 2022 1 commit
-
-
Michael Catanzaro authored
-
- 27 Mar, 2022 1 commit
-
-
- 25 Mar, 2022 1 commit
-
-
- 24 Mar, 2022 1 commit
-
-
- 22 Mar, 2022 1 commit
-
-
- 18 Mar, 2022 1 commit
-
-
John Ralls authored
This seems to have gotten lost in the migration from autotools. Closes #4769
-
- 15 Mar, 2022 1 commit
-
-
- 14 Mar, 2022 2 commits
-
-
- 12 Mar, 2022 1 commit
-
-
- 11 Mar, 2022 3 commits
-
-
Matthias Clasen authored
icons: add legacy icons See merge request !4562
-
Jakub Steiner authored
- add legacy hicolor icons relied on in testsuite Fixes #4754
-
-
- 08 Mar, 2022 2 commits
-
-
-
Ask Hjorth Larsen authored
-
- 07 Mar, 2022 1 commit
-
-
Aurimas Černius authored
-
- 05 Mar, 2022 1 commit
-
-
Matthias Clasen authored
-