labwc/src
John Lindgren 2f37002498 cursor: don't synthesize relative motion events from absolute events
It seems to have been inherited behavior from tinywl, but it's not clear
what purpose it serves, and it causes a couple of issues:

- A new absolute position that's discontinuous with the previous cursor
  position can produce unexpectedly large relative motion deltas. This
  can occur for example when multiple input devices are active, or in
  nested/VM scenarios when the pointer leaves the windowed output and
  re-enters at a different point.

- When the cursor position is locked via constraint, the computed deltas
  continue to get larger as the absolute event position diverges further
  from the locked position. This led to the mouse pointer going crazy in
  applications that use the relative events, such as games under Wine/
  Wayland.
2025-12-07 01:35:22 -05:00
..
common box: factor out box_center() 2025-12-02 14:57:41 +09:00
config rcxml: declare variable at initialization 2025-12-07 14:55:32 +09:00
cycle osd-classic: initialize struct fields in order 2025-12-07 14:55:32 +09:00
decorations include: add config/types.h 2025-08-21 16:55:25 +09:00
foreign-toplevel wlr-foreign: set all initial states correctly 2025-11-18 07:06:07 +01:00
img Don't remove newlines when parsing config, menu and XBM 2025-10-17 22:08:41 +09:00
input cursor: don't synthesize relative motion events from absolute events 2025-12-07 01:35:22 -05:00
menu Don't remove newlines when parsing config, menu and XBM 2025-10-17 22:08:41 +09:00
protocols src: remove unused #includes (via include-what-you-use) 2025-09-07 19:34:30 +09:00
scaled-buffer view: store title/app_id in view 2025-10-14 02:27:13 +09:00
ssd theme: replace THEME_(IN)ACTIVE with SSD_(IN)ACTIVE 2025-10-14 07:48:27 +02:00
action.c Add directional options to Resize action: 2025-12-04 03:01:27 +09:00
buffer.c src: include primary header first 2025-07-29 21:51:56 +01:00
debug.c Use "cycle" instead of "osd" across the codebase 2025-11-30 16:20:16 +09:00
desktop-entry.c desktop-entry: fix wrong description of sfdo-icon flags 2025-10-09 00:59:43 +02:00
desktop.c Use "cycle" instead of "osd" across the codebase 2025-11-30 16:20:16 +09:00
dnd.c cursor: generalize seat->pressed 2025-11-30 20:55:54 +09:00
edges.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
idle.c idle_manager: remove unused parameter and field 2025-09-07 19:17:18 +09:00
interactive.c snapping: replace <snapping><range> with <snapping><range inner="" outer=""> (#3241) 2025-12-06 16:09:28 +09:00
layers.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
magnifier.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
main.c Add translate.h for HAVE_NLS includes/defines 2025-09-26 10:43:23 -04:00
meson.build Rename osd.{h,c} to cycle.{h,c} 2025-11-30 16:20:16 +09:00
node.c Use "cycle" instead of "osd" across the codebase 2025-11-30 16:20:16 +09:00
output-state.c include: split output.h from labwc.h 2025-07-30 21:04:31 +01:00
output-virtual.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
output.c Use "cycle" instead of "osd" across the codebase 2025-11-30 16:20:16 +09:00
overlay.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
placement.c include: add config/types.h 2025-08-21 16:55:25 +09:00
regions.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
resistance.c src: remove unused #includes (via include-what-you-use) 2025-09-07 19:34:30 +09:00
resize-outlines.c include: reduce unnecessary #includes 2025-09-07 19:34:30 +09:00
seat.c cursor: generalize seat->pressed 2025-11-30 20:55:54 +09:00
server.c cycle: remember cycled window list in server->cycle.views 2025-11-30 21:33:46 +00:00
session-lock.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
snap-constraints.c src: remove unused #includes (via include-what-you-use) 2025-09-07 19:34:30 +09:00
snap.c common: add node-type.c/h (renaming ssd_part_type to lab_node_type) 2025-09-06 16:00:20 -04:00
tearing.c include: reduce global includes in labwc.h 2025-07-30 21:04:31 +01:00
theme.c theme: replace THEME_(IN)ACTIVE with SSD_(IN)ACTIVE 2025-10-14 07:48:27 +02:00
view-impl-common.c view: move view_moved() out of view_impl_apply_geometry() 2025-12-02 14:57:41 +09:00
view.c xwayland: flush XCB connection to mitigate race between Raise and input 2025-12-02 19:50:03 +01:00
window-rules.c src: remove unused #includes (via include-what-you-use) 2025-09-07 19:34:30 +09:00
workspaces.c workspaces: place osd at the center of output rather than usable area 2025-11-02 04:27:39 +01:00
xdg-popup.c tree-wide: use forward declarations for wlr types 2025-09-07 19:34:30 +09:00
xdg.c xdg: don't send xdg_wm_base::ping on creation of new surface 2025-12-02 09:21:42 +01:00
xwayland-unmanaged.c xwayland-unmanaged: remove obsolete workaround 2025-11-27 01:26:55 -05:00
xwayland.c xwayland: flush XCB connection to mitigate race between Raise and input 2025-12-02 19:50:03 +01:00