- 20 May, 2020 1 commit
-
-
Peter Hutterer authored
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 19 Apr, 2020 2 commits
-
-
Peter Hutterer authored
No functional changes, prep work for an upcoming patch.
-
Peter Hutterer authored
This reverts commit 6893f59a.
-
- 04 Apr, 2020 1 commit
-
-
Peter Hutterer authored
This is a new type of events, see https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/72 For axis events of source wheel/tilt it effectively replaces the existing axis/axis_discrete events in favour of a value based on 1 wheel detent == value 120. This allows for finer-grained scrolling on HW that supports those devices - 4 events of 30 for example. Those events should be assumed to be a separate event stream from the same device which means we will (likely, depends on the compositor's backwards compatibility requirements) get both legacy and new hires wheel events. Where a frame is a pure legacy frame the axis_v120 value is zero so we know we can ignore the rest. Our code ends up as: - source finger/continuous - no changes - source wheel: - handle nonzero v120 events as smooth scroll events and pass them through accordingly - handle zero v120 events by throwing away axis data from this frame - handle axis/discrete without a v120 event as we did previously Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
- 03 Apr, 2020 12 commits
-
-
Carlos Garnacho authored
imwayland: Clamp the surrounding string end correctly Closes #2565 See merge request GNOME/gtk!1621
-
Matthias Clasen authored
Focus test See merge request GNOME/gtk!1622
-
Carlos Garnacho authored
In the paths where len > MAX_LEN and cursor/anchor are separated by at least MAX_LEN from text edges, we were clamping the right end of the surrounding string at MAX_LEN. Oops. This end anchor may go as far as the string length, although just up to len - MAX_LEN in real terms (due to the condition above that caches cursor/anchor positions being near enough the text end). Closes: GNOME/gtk#2565 (cherry-picked from commit d7fb15c8)
-
Matthias Clasen authored
-
Matthias Clasen authored
It is hard to avoid widgets with the same name in a large ui file - try harder to record a full focus chain before decide that we've wrapped, by including the widget address in the comparison. Note that we don't include the addresses in the generated output, since that would make expected output vary from run to run.
-
Emmanuele Bassi authored
Annotation fixes See merge request GNOME/gtk!1616
-
Matthias Clasen authored
gdk: Move GdkGrabStatus and GdkGrabOwnership decl. See merge request GNOME/gtk!1615
-
Emmanuele Bassi authored
Match the arguments name in the declaration and the definition, and make sure we have the proper transfer annotations.
-
Olivier Fourdan authored
With the removal of `gdk_seat_grab` we do not need to keep the definitions of `GdkGrabStatus` and `GdkGrabOwnership` public. Move those definitions to become internal only.
-
Timm Bäder authored
-
Timm Bäder authored
-
Matthias Clasen authored
Matthiasc/for master See merge request GNOME/gtk!1611
-
- 02 Apr, 2020 15 commits
-
-
Matthias Clasen authored
Clarify a point that took me a few hours to fully track down, so lets preserve what I found for the next poor sould coming this way.
-
Matthias Clasen authored
-
Matthias Clasen authored
Entries and menubuttons are no longer focusable themselves, they have focusable children. Since we don't have accessible objects for those, transfer the focus-related state (focusable and focused) from the children to the main accessible object.
-
Matthias Clasen authored
We don't get a focus-out on the event controller, when the surface is losing keyboard focus, since we are not moving our focus to some other widget, so we are never unsetting the mnemonics-visible property. Do that in response to surface state changes instead.
-
Matthias Clasen authored
gdk/wayland: Clear modifiers when we lose keyboard focus Closes #2112 See merge request GNOME/gtk!1610
-
When we `Alt+Tab` away from a GTK application, it loses keyboard focus. If we don't clear the modifiers, events from other devices that we receive while unfocused will assume `Alt` is still pressed. This results in e.g. Firefox navigating through the history instead of scrolling the page when using the mouse wheel on it. We don't get any information about modifiers while we are missing keyboard focus, so assuming no modifiers are active is the best we can do. The shell sends us a modifier update immediately before we regain keyboard focus, so the state shouldn't get out of sync. Fixes GNOME/gtk#2112
-
Matthias Clasen authored
supp: Use a single suppressions file for lib, lib64 and multiarch See merge request GNOME/gtk!1603
-
Matthias Clasen authored
Im context wayland fixes See merge request GNOME/gtk!1605
-
Matthias Clasen authored
This ensures that it is done only once.
-
Matthias Clasen authored
We are not loading the Compose file for individual contexts, it just gets added to a global list. So don't pass an im context along. This will let us move the loading out of the initialization of individual contexts, and only do it once.
-
Matthias Clasen authored
There is nothing display-specific in the ~/.Compose file, so we can just try to load it without looking at the display we are on.
-
Matthias Clasen authored
We are loading a file here, thankfully in a thread, but we do it every time an entry is created. Add a profiler mark, to make this visible.
-
Simon McVittie authored
In addition to the traditional library directory lib and the 64-bit multilib directory lib64, this will cover Debian-style multiarch (lib/x86_64-linux-gnu etc.), Arch Linux 32-bit (lib32), x32 and various others. Signed-off-by:
Simon McVittie <smcv@debian.org>
-
Matthias Clasen authored
Fix crossing event generation Closes #2536 See merge request GNOME/gtk!1601
-
Matthias Clasen authored
We were not properly setting the new_descendent field in Crossing structs for GTK_CROSSING_OUT events. This was causing extraneous ::leave signals to be emitted, and make model buttons in popover menus flicker when hovered. Fixes: GNOME/gtk#2536
-
- 01 Apr, 2020 9 commits
-
-
Matthias Clasen authored
gtk-demo: Remove the popover demo Closes #2429 See merge request GNOME/gtk!1600
-
Matthias Clasen authored
It doesn't work anymore, since popovers now need support in the parent, and we don't really need a demo just for popovers. They are used everywhere already. Fixes: GNOME/gtk#2429
-
Emmanuele Bassi authored
gtkflowbox: Fix a minor typo in the documentation See merge request GNOME/gtk!1599
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
Matthias Clasen authored
keynav: Fix Shift-Tab See merge request GNOME/gtk!1598
-
Matthias Clasen authored
Add a cursor-aspect-ratio setting See merge request GNOME/gtk!1597
-
Matthias Clasen authored
-
Matthias Clasen authored
This was broken by the shortcuts branch merge.
-
Matthias Clasen authored
Add a setting that controls how thick the text caret is drawn. The default value is 0.04.
-