labwc/include
tokyo4j 7cc79edd62 cursor: fix button release events sometimes not being sent
When `wlr_seat_pointer_notify_button()` is called on a button press event,
that funtion must also be called on the subsequent button release event
because otherwise wlroots thinks the button is kept pressed and it
causes issues with validating DnD requests from clients, where only one
button must be pressed. This was the case when a CSD client opens a
client-menu via `show_window_menu` request after pressing its window with
the right button because we were always not notifying button release
events while a menu is open.

So let's keep track of bound (pressed but not notified) buttons and notify
button release events only when the button is not bound, like we are doing
for key-state.
2024-10-13 20:45:16 +01:00
..
common key-state.c: generalize set operations 2024-10-13 20:45:16 +01:00
config ssd: support window icons 2024-09-25 18:04:09 +09:00
img icon-loader: update PNG and XPM loaders to use new buffer helper 2024-10-06 22:38:03 -04:00
input cursor: prevent Drag mousebinds from running without button press 2024-10-01 21:26:19 +01:00
menu client send to menu 2024-09-19 06:36:27 +01:00
protocols cosmic-workspaces: protocol implementation 2024-08-03 18:25:23 +02:00
action.h Refactor the logic of placing client-menu with ShowMenu action 2024-09-21 18:07:34 +01:00
buffer.h buffer: add buffer_convert_cairo_surface_for_icon() 2024-10-06 22:30:46 -04:00
debug.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
decorations.h includes: identifier consistency in include guards 2023-05-13 22:29:21 +01:00
dnd.h chase (dnd): refactor to use wlroot's scene_drag_icon 2023-12-03 18:24:26 +00:00
edges.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
icon-loader.h icon-loader: load SVG icons at max scale of any usable output 2024-10-06 21:24:34 -04:00
idle.h Add support for ext_idle_notify_v1.. 2023-07-09 08:26:33 +01:00
labwc.h cursor: fix button release events sometimes not being sent 2024-10-13 20:45:16 +01:00
layers.h xdg: support xdg-shell v3 with popup repositioning 2024-07-01 20:16:31 +01:00
magnifier.h backend/drm: Implement support for renderer loss recovery 2024-07-23 14:44:31 +02:00
meson.build Make xwayland support optional 2020-12-30 10:29:21 +00:00
node.h session-lock: allow client to update cursor shape 2024-05-31 11:21:29 +09:00
osd.h osd: add window-switcher custom field (#1670) 2024-04-10 23:39:31 +01:00
output-state.h chase: output->pending 2024-07-17 21:28:59 +01:00
output-virtual.h Add optional headless fallback output 2024-03-08 13:54:13 +01:00
overlay.h overlay: allow to draw both/either of filled/outlined rectangle 2024-04-22 19:22:23 +01:00
placement.h view: honor automatic placement when adjusting floating geometry 2023-12-30 16:50:09 +00:00
regions.h overlay: add snap-to-edge overlay (PR #1652) 2024-04-05 04:35:31 +02:00
resistance.h interactive: allow moving horizontally/vertically maximized window 2024-08-26 20:30:22 +02:00
resize-indicator.h Replace _ with - in source file names 2024-05-22 07:10:51 +01:00
resize-outlines.h Implement <resize><drawContents> 2024-06-15 21:17:01 +01:00
session-lock.h session-lock: restore focused view on unlock 2024-07-07 15:48:32 +09:00
snap-constraints.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
snap.h snap: cache and ignore last-snapped edge when growing or shrinking 2024-04-10 23:30:28 +01:00
ssd-internal.h theme: add window.button.height 2024-10-08 20:04:05 +01:00
ssd.h theme: refine the management of corner buttons 2024-10-05 20:53:51 +01:00
theme.h theme: replace *.hover.bg.shape with *.hover.bg.corner-radius 2024-10-13 12:31:51 +01:00
view-impl-common.h view: commonize sub-view logic in view_move_to_front/back() 2023-10-21 15:40:56 +01:00
view.h xdg: try to handle slow un-maximize with empty natural geometry better 2024-10-01 21:22:00 +01:00
window-rules.h wayland: add support for security-context-v1 2024-05-29 22:28:06 +01:00
workspaces.h cosmic-workspaces: labwc integration 2024-08-03 18:25:23 +02:00
xwayland.h xwayland: set initial geometry in map_request handler 2024-07-19 22:40:43 +01:00