Jan Beich
f80d174e8b
Simplify evdev includes on FreeBSD by relying on up-to-date package
...
As evdev-proto is installed by CI some files have been missed:
../examples/pointer-constraints.c:2:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/relative-pointer-unstable-v1.c:5:10: fatal error: 'linux/input-event-codes.h' file not found
#include <linux/input-event-codes.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
6 years ago
Scott Anderson
d3ee69f76b
backend/x11: Hide cursor with Xfixes
6 years ago
Scott Anderson
70ae76304e
backend/x11: Remove old input functions
...
This also allows us to remove xcb-xkb, since Xinput will now give us the
appropriate XKB modifiers with each event.
6 years ago
Scott Anderson
d89e868cc9
backend/x11: Add new Xinput events
6 years ago
Scott Anderson
ab2c57984b
backend/x11: Make header order consistent
6 years ago
Scott Anderson
51a283cbe4
backend/x11: Rename xcb_conn to xcb
...
When the Xlib connection is removed, this _conn suffix is going to be
pointless. I'm removing this preemtively for that.
6 years ago
emersion
51bfdd620e
Use #if instead of #ifdef for wlroots config data
...
This prevents some annoying issues when e.g. not including wlr/config.h or
making a typo in the guard name.
6 years ago
Drew DeVault
4b096fc114
Revert "Merge pull request #1153 from emersion/include-config"
...
This reverts commit ef0a6ea4d2
, reversing
changes made to 8d03bc9178
.
7 years ago
emersion
41094a7df5
Always include config.h
7 years ago
emersion
0b58579564
Add support for discrete axis values
7 years ago
Guido Günther
6f01c12b40
backend/x11: don't transform pointer events
...
We do this in a backend independent way in wlr_cursor now.
7 years ago
emersion
178ac8bffe
backend/{wayland,x11}: fix pointer coords for transformed outputs
7 years ago
emersion
62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion
f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion
71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
Uli Schlachter
98f8ec6a08
x11_handle_input_event: Remove return value
...
handle_x11_event() and x11_handle_input_event() react to different kinds
of events, so it does not make much of a difference if
x11_handle_input_event() signals if it handled an event or not.
Signed-off-by: Uli Schlachter <psychon@znc.in>
7 years ago
emersion
9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
emersion
60f07ee321
backend/x11: fix WLR_HAS_XCB_XKB always undefined
7 years ago
emersion
aa6ae710f7
backend/x11: fix input events
7 years ago
emersion
d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago