labwc/src
Consolatis 97ac960fee src/cursor: ensure interactive move/resize ends correctly for CSD clients
Before this patch, when moving a CSD client below a layershell surface -
like a panel that was configured with either the "top" or "overlay"
layers - we'd only send a matching release button event to the client but
not actually end the interactive move operation. That caused the drag to
continue even though the user already released the mouse button.

In comparison, SSD clients were not suffering from the same issue because
the initial mouse "down" event was not attached to any client surface and
thus it would not take the first early return because there was no surface
attached to the release event.

This patch fixes the issue by reordering the conditions where we return
early. It also ensures that when we finish the move, we still send the
release event to CSD clients.

Fixes: #1053
Reported-by: @DynamoFox (thanks)
2023-09-10 16:49:54 +01:00
..
button button: move button-png.c to button/ 2023-08-10 16:33:03 +01:00
common Add window resize indicator 2023-08-19 18:37:16 +02:00
config window-rules: add ignoreFocusRequest property 2023-09-10 13:31:15 +02:00
decorations Decorations: handle results of kde-server-decoration negotiations 2023-03-25 07:24:40 +00:00
menu src/menu/menu.c: support keyboard driven selection 2023-09-05 19:57:14 +01:00
ssd src/ssd: ensure unround corners + disabled borders are set on reload 2023-08-25 15:54:22 +02:00
action.c Restore SnapToEdge and MoveToEdge default keybinds 2023-08-06 10:37:36 +02:00
buffer.c common: Add znew/znew_n() macros 2022-09-18 15:25:19 -04:00
cursor.c src/cursor: ensure interactive move/resize ends correctly for CSD clients 2023-09-10 16:49:54 +01:00
debug.c Enable more compiler warnings 2023-02-01 10:42:22 +01:00
desktop.c Move isfocusable() from desktop.c to view.c 2023-08-20 17:00:23 +01:00
dnd.c dnd: fix focus at end of dnd operation 2023-07-10 17:17:59 +01:00
foreign.c view: Add view_move_to_front/back(). 2023-04-01 22:50:01 +02:00
idle.c Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
interactive.c Add window resize indicator 2023-08-19 18:37:16 +02:00
key-state.c Enable more compiler warnings 2023-02-01 10:42:22 +01:00
keyboard.c src/menu/menu.c: support keyboard driven selection 2023-09-05 19:57:14 +01:00
layers.c config: support <margin top="" bottom="" left="" right="" output="" /> 2023-06-26 06:04:07 +01:00
main.c menu: Add generic menu_init() entry point 2022-12-06 21:08:43 +00:00
meson.build button: move button-png.c to button/ 2023-08-10 16:33:03 +01:00
node.c common: Add znew/znew_n() macros 2022-09-18 15:25:19 -04:00
osd.c src/osd.c: prevent crash with theme setting osd.window-switcher.width: 0 2023-08-27 21:25:32 +02:00
output.c src/output.c: destroy workspace OSD on output destroy 2023-05-17 13:56:11 +02:00
regions.c Prevent cursor based region-snapping when starting a move with A-Left 2023-03-07 20:55:35 +00:00
resistance.c output: Add output_is_usable() helper 2023-02-17 06:59:39 -05:00
seat.c config: support <tapAndDrag> and <dragLock> 2023-09-07 22:55:50 +01:00
server.c Add window resize indicator 2023-08-19 18:37:16 +02:00
session-lock.c Support ext-session-lock protocol 2023-04-02 23:09:38 +01:00
theme.c button: move button-png.c to button/ 2023-08-10 16:33:03 +01:00
touch.c touch: store initial coordinate adjustments 2023-08-27 23:13:24 +02:00
view-impl-common.c view: make move_sub_views() use append_children method 2023-08-05 21:06:28 +02:00
view.c src/ssd: fix tiling via keybind when maximized 2023-08-25 15:54:22 +02:00
window-rules.c window-rules: add ignoreFocusRequest property 2023-09-10 13:31:15 +02:00
workspaces.c osd: use theme->osd_border_width for focused item 2023-06-29 19:14:08 +01:00
xdg-popup.c xdg-popup: render above always-on-top 2023-05-22 20:37:49 +01:00
xdg.c window-rules: add ignoreFocusRequest property 2023-09-10 13:31:15 +02:00
xwayland-unmanaged.c xwayland: Add mapped argument to xwayland_view_create() 2023-05-06 12:12:13 -04:00
xwayland.c window-rules: add ignoreFocusRequest property 2023-09-10 13:31:15 +02:00