labwc/src
John Lindgren e18f7a32ba cursor: Allow leave/enter events within the same XDG toplevel
Attempting to open a GTK3 menu and activate a menu item in it,
using a single mouse motion (press-move-release), was broken due
to GTK apparently expecting to receive leave/enter events when the
cursor enters the menu (XDG popup).

To fix the issue, allow leave/enter events when the cursor is
moved between an XDG toplevel and popups of the same.

v2:
 - Use (struct view *) as proxy for toplevel in comparisons
 - Update seat->pressed.surface when entering/leaving popups
v3:
 - Go back to using get_toplevel() rather than (struct view *)
2022-09-13 15:57:20 -04:00
..
common alt-tab preview: restore functionality after move to scene-graph 2022-08-28 20:40:36 +02:00
config rcxml.c: enable tap be default on non-touch devices 2022-09-11 21:26:32 +01:00
menu menu: render submenu arrows 2022-08-12 11:16:17 +02:00
ssd ssd: Make ssd_get_part_type() work for corner buttons 2022-09-09 15:23:13 -04:00
xbm Prepare to move from wlr_texture to lab_data_buffer 2022-02-23 21:47:01 +00:00
action.c Prepare OSD for reimplementation of the preview feature 2022-08-28 20:40:29 +02:00
buffer.c src/buffer: Automatically adapt to scale attribute 2022-06-14 22:03:08 +01:00
cursor.c cursor: Allow leave/enter events within the same XDG toplevel 2022-09-13 15:57:20 -04:00
debug.c src/debug.c: Sync with workspaces 2022-06-17 06:08:06 +01:00
desktop.c cursor: Factor out cursor_update_common() and fix some glitches 2022-09-13 13:29:36 -04:00
foreign.c workspaces: Switch workspace when activating via panel 2022-06-15 22:49:39 +02:00
interactive.c cursor: Factor out cursor_update_common() and fix some glitches 2022-09-13 13:29:36 -04:00
key-state.c keyboard: cancel repeat when handling key-bind 2022-01-02 15:28:35 +00:00
keyboard.c alt-tab preview: restore functionality after move to scene-graph 2022-08-28 20:40:36 +02:00
layers.c seat: Listen for destroy signal of pressed.surface 2022-09-13 15:57:20 -04:00
main.c main: Increase FD limit 2022-07-17 00:59:23 +00:00
meson.build workspaces: Add workspaces.{c,h} 2022-06-15 22:26:21 +02:00
node.c src/ssd: Convert button node descriptors to struct ssd_button 2022-06-09 22:04:35 +01:00
osd.c Move OSD handler for view destruction to osd.c 2022-08-28 20:40:49 +02:00
output.c Disconnect view from destroying output 2022-08-24 20:24:19 +01:00
resistance.c resistance: Do not consider edges of disabled outputs 2022-07-18 22:06:12 +01:00
seat.c cursor: Allow leave/enter events within the same XDG toplevel 2022-09-13 15:57:20 -04:00
server.c cursor: Don't load cursor theme in server_init() 2022-09-11 21:20:00 +01:00
theme.c src/{common/font,theme}.c: Switch to cairo helpers 2022-08-26 06:54:12 +01:00
touch.c Chase wlroots: wlr_scene is now a tree node 2022-06-07 07:13:37 +01:00
view-impl.c Remove src/damage.c 2022-03-01 20:54:52 +00:00
view.c seat: Listen for destroy signal of pressed.surface 2022-09-13 15:57:20 -04:00
workspaces.c common/graphic-helpers: Add cairo helpers 2022-08-20 22:16:52 +01:00
xdg-deco.c xwayland.c,xdg-deco.c: fix style 2021-11-13 21:45:12 +00:00
xdg-popup.c xdg-popup: Check for NULL from wlr_xdg_surface_from_wlr_surface() 2022-09-13 15:57:20 -04:00
xdg.c src/xdg.c: Only call view_moved() when required 2022-09-08 01:32:22 +02:00
xwayland-unmanaged.c seat: Listen for destroy signal of pressed.surface 2022-09-13 15:57:20 -04:00
xwayland.c src/xwayland.c: Keep view->surface in sync 2022-09-06 22:03:17 +02:00