- May 21, 2018
-
-
- Nov 17, 2017
-
-
Carlos Garnacho authored
Unused variable definition. The fixup didn't make it to the previous commit.
-
Carlos Garnacho authored
We must emit ::dnd-leave to pair the ::dnd-enter that shall be emitted whenever the plugin grab begins, otherwise we leave listeners unable to clean up if the plugin begins and ends a grab while there is an ongoing DnD operation. https://bugzilla.gnome.org/show_bug.cgi?id=784545
-
- Sep 28, 2017
-
-
Jonas Ådahl authored
Just queuing the buffer release event is prone to starvation, so send the release immediately. See https://lists.freedesktop.org/archives/wayland-devel/2017-September/035147.html for more detailed explanation. https://bugzilla.gnome.org/show_bug.cgi?id=788197
-
- Aug 12, 2017
-
-
Carlos Garnacho authored
Message was poking stage_x11, which doesn't exist in this context. Just print the Window that is receiving the event, the event will be emitted into the only existing stage anyway.
-
- Aug 11, 2017
-
-
Matej Urbančič authored
-
- Jul 26, 2017
-
-
Carlos Garnacho authored
The cursor surface would be remembered until the next proximity in event, causing flashing of the old cursor till the client underneath the tablet tool sent the zwp_tablet_tool.set_cursor request. Forgetting about the cursor surface on proximity out makes the cursor invisible till the request is made.
-
- Jul 22, 2017
-
-
Since a wl_buffer is independent of the GL context in use (unlike, e.g., a GL renderbuffer), EGLImages with the EGL_WAYLAND_BUFFER_WL target must pass EGL_NO_CONTEXT as the context. Quoting from the EGL_WL_bind_wayland_display spec: After querying the wl_buffer layout, create EGLImages for the planes by calling eglCreateImageKHR with wl_buffer as EGLClientBuffer, EGL_WAYLAND_BUFFER_WL as the target, NULL context. The check was already present inside _cogl_egl_create_image. https://bugzilla.gnome.org/show_bug.cgi?id=785263 Signed-off-by: Daniel Stone <daniels@collabora.com>
-
- Jul 19, 2017
-
-
Florian Müllner authored
Update NEWS.
-
Jonas Ådahl authored
Test that a tiled monitor with tile (0, 0) as the non-main output, where main output is defined as the output that is active as long as the monitor is active. https://bugzilla.gnome.org/show_bug.cgi?id=781723
-
Jonas Ådahl authored
Instead of letting MetaMonitor derive the logical monitor size, then using the main monitor for the position, just let MetaMonitor derive the whole layout including the position. This means it can deal with tiled monitors better, for example when the main output (the output always active when the monitor is active) is not the origin output (the output with tile position (0, 0)). https://bugzilla.gnome.org/show_bug.cgi?id=781723
-
- Jul 17, 2017
-
-
Adds basic support for the "wheel" event from the Wayland tablet protocol. Ideally we would accumulate the angle and report a wheel event with an appropriate value for "clicks". We can get away with a much cruder method for the time being, however, since no Wacom tablet puck actually provides a smooth scrollwheel. Checking whether the angle in CLUTTER_INPUT_AXIS_WHEEL exceeds a nominally-small threshold is sufficient to determine that the wheel has advanced by at least one physical click. https://bugzilla.gnome.org/show_bug.cgi?id=783716
-
Carlos Garnacho authored
This way the pad OSD can obtain the keycombos that are mapped to these for labeling purposes. https://bugzilla.gnome.org/show_bug.cgi?id=782033
-
Carlos Garnacho authored
These events will be useful on gnome-shell UI, so translate the 4-5 button events with exotic axes to those. Also use the XI_Motion event received when first touching those to reset the ring/strip state, so we don't receive spurious direction changes in the upper layers. https://bugzilla.gnome.org/show_bug.cgi?id=782033
-
Carlos Garnacho authored
This function extracts pad event information, and more importantly exposes it for gobject introspection. https://bugzilla.gnome.org/show_bug.cgi?id=782033
-
Jonas Ådahl authored
When updating the main monitor, make sure to update the toplevel main monitor before trying to use that as the main monitor for non-toplevel windows (such as popups). Without this, when the main monitor is updated as a side effect to monitors being changed (for example due to a hot plug event, or coming back from being suspended) the main monitor pointer may, after 'monitors-changed' has completed, point to freed memory resulting in undefined behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=784867
-
- Jul 14, 2017
-
-
Carlos Garnacho authored
Just like we do for buttons, with a few twists. These have 2 directions mappable to different keycombos, and are affected by the current mode in their group. https://bugzilla.gnome.org/show_bug.cgi?id=782033
-
Carlos Garnacho authored
The caller in clutter really expects an error if fd==-1, so make sure we set one here. Otherwise we get a nice crash in addition to the failure to open the /sys file. Also, retry on EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=784881
-
- Jul 13, 2017
-
-
Window moving and resizing depends on the `meta_wayland_seat_get_grab_info` function succeeding. At the moment, tablet tools do not generate implicit grabs like the pointer and touch. This commit adds the necessary elements to track implicit grabs and retrieve their information. https://bugzilla.gnome.org/show_bug.cgi?id=777333
-
Carlos Garnacho authored
This fixes possible crashes if configuration is changed on a device that was added and then removed. https://bugzilla.gnome.org/show_bug.cgi?id=784881
-
Carlos Garnacho authored
These should be set one, but just set the master to be the slave pad device. We are passively grabbing the pad device, so this is consistent with active grabs on slave devices. Besides, pads are paired to the VCP, which is not really truthful. Fixes inoffensive warnings when trying to check whether motion throttling applies for these events. https://bugzilla.gnome.org/show_bug.cgi?id=784881
-
- Jul 12, 2017
-
-
Carlos Garnacho authored
And use it in the generic code for the checks about whether mapping to an specific display applies or not. https://bugzilla.gnome.org/show_bug.cgi?id=784402
-
Carlos Garnacho authored
This just used to apply to CLUTTER_TABLET_DEVICE on wayland, allow using it on pen/eraser devices (as X11 sees tablets) for consistency. https://bugzilla.gnome.org/show_bug.cgi?id=784402
-
Jonas Ådahl authored
When moving a window between two non-adjecent logical monitors, don't try to tile a window when the window position is outside of any logical monitor. https://bugzilla.gnome.org/show_bug.cgi?id=783630
-
- Jul 10, 2017
-
-
Jordi Mas authored
-
- Jul 05, 2017
-
-
Florian Müllner authored
When the number of (static) workspaces decreases, we relocate windows from extra workspaces before removing them. As removing a non-empty workspace is not allowed, we assert that it doesn't contain any windows before removing it. However that assert is - pointless, because meta_workspace_remove() already asserts that the workspace is empty - wrong, because even empty workspaces contain windows that are set to show on all workspaces Simply drop the assert to avoid a crash when trying to remove a workspace while on-all-workspaces windows are present. https://bugzilla.gnome.org/show_bug.cgi?id=784223
-
- Jul 03, 2017
-
-
Carlos Garnacho authored
This skipped the device types that are in use on X11. https://bugzilla.gnome.org/show_bug.cgi?id=782027
-
Carlos Garnacho authored
Instead of the last device position. This was copied a little bit too straight from MetaWaylandPointer. https://bugzilla.gnome.org/show_bug.cgi?id=783535
-
Carlos Garnacho authored
Events from tablets must not be filtered out, as the event coalescing results in precision loss. https://bugzilla.gnome.org/show_bug.cgi?id=783535
-
Wacom's display tablets typically do not have (0,0) coincident with the top left corner of the screen. This "outbound" area must be taken into account when setting the area or else an unexpected offset of the pointer will occur. https://bugzilla.gnome.org/show_bug.cgi?id=784009
-
- Jun 23, 2017
-
-
Florian Müllner authored
Update NEWS.
-
- Jun 21, 2017
-
-
Apply the embedded EXIF orientation when the background is loaded. https://bugzilla.gnome.org/show_bug.cgi?id=783125
-
- Jun 20, 2017
-
-
It is possible to interpret the ammount of padding provided to the *_set_tablet_area functions in two different and incompatible ways. The X11 backend effectively treats them as being input-centric (i.e., the padding defines the size of the "dead zone" on the tablet) while the native backend has an output-centric viewpoint (i.e., the padding defines the size of the "dead zone" on the display) viewpoint. This difference in opinion causes the cursor offset to change when switching between Xorg and a Wayland sessions. The calibration utility within g-c-c does its calculations with an input- centric viewpoint, so this patch modifies the native backend to work correctly with these values. To change viewpoints, we can simply invert the scale and negate the offset. It should be noted that this function also forgot to apply scaling to the offsets (as required by the matrix transform done by libinput) which would have further compounded the cursor offset issue under Wayland. https://bugzilla.gnome.org/show_bug.cgi?id=784009
-
Carlos Garnacho authored
It would only allow to alternate between the logical monitors, we actually want to return NULL here so it can cycle to the whole span of monitors. https://bugzilla.gnome.org/show_bug.cgi?id=782032
-
Carlos Garnacho authored
Instead of checking all MetaMonitors in the monitor manager, we want to look (as the function name says) in the MetaMonitors contained in the given logical monitor. Otherwise, it will return TRUE for every logical monitor, given we are querying for an existing EDID. https://bugzilla.gnome.org/show_bug.cgi?id=782032
-
Carlos Garnacho authored
Due to the pen/eraser device separation in X11, CLUTTER_TABLET_DEVICE does not apply there, this device type is only used in native/evdev. Checking for CLUTTER_PEN/ERASER_DEVICE makes the left-handed mode correctly applied on tablets. https://bugzilla.gnome.org/show_bug.cgi?id=782027
-
Carlos Garnacho authored
instead of filling in the last array value, it overwrote the previous one. https://bugzilla.gnome.org/show_bug.cgi?id=781703
-
- Jun 07, 2017
-
-
Previously, the function only returned `TRUE` if the given surface was equal to the given pointer's focused surface. This changes the behaviour to also return `TRUE` if any of the given surface's subsurfaces are equal to the pointer's focused surface. https://bugzilla.gnome.org/show_bug.cgi?id=781811
-
- Jun 01, 2017
-
-
Jonas Ådahl authored
Clear the pointer->current when the surface is destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=783113
-
Jonas Ådahl authored
Use the "destroy" MetaWaylandSurface signal instead of the wl_resource destroy signal for tracking the lifetime of the surface with pointer focus. As unsetting the focus may have side effects due to handlers of the "focus-surface-changed" signal, connect the signal after the default handler to make sure other clean up facilities have the chance deal with the surface destruction before we try to unset the focus. https://bugzilla.gnome.org/show_bug.cgi?id=783113
-