Sebastian Krzyszkowiak
415267ac13
backends/x11: Touch support
...
Closes #1749
5 years ago
Brian Ashworth
b135599e5a
backend/x11: improve output number handling
...
This improves the way the output numbers are handled for the x11
backend. Instead of using the number of active outputs plus one, the
last used number is stored and new outputs will increment it. This
fixes the situation where you start with one output, create a second,
close the first, and create a third. Without this, both outputs will be
X11-2, which causes an issue since the identifier will also be
identical. With this, the last output is X11-3 and the outputs can be
distinguished.
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
88b2d6fe25
backend/x11: Check for xinput extension
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
Scott Anderson
93a496f3a8
Include wlr/config.h in x11.h
...
This fixes a warning from the linker when using LTO, due to mismatched
types.
6 years ago
emersion
02231554c8
backend/x11: add assertions
6 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
2d6bbf12f8
backend/{x11,headless}: fix refresh rate
7 years ago
emersion
9609985f29
backend/x11: fix cursor position when receiving configure event
7 years ago
emersion
7b88ace557
backend/x11: hide cursor
7 years ago
emersion
aa6ae710f7
backend/x11: fix input events
7 years ago
emersion
0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
emersion
d4f7ced6e2
backend/x11: refactor, prepare support for multiple outputs
7 years ago
emersion
f033f717a2
backend/x11: make xcb-xkb optional, remove global state
7 years ago
Scott Anderson
902d6cc240
Use xcb atoms properly
7 years ago
Guido Günther
15afef6cbc
x11 backend: set window title
...
This makes windows identifiable in the window list
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
...
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
7 years ago
Dominique Martinet
fcd7062542
x11 backend: add wlr_input_device_is_x11
7 years ago
Dominique Martinet
f83b16bc17
x11 backend: add wlr_output_is_x11
7 years ago
emersion
9d43adaafa
Listen to display destroy in backends
7 years ago
Scott Anderson
9b984253e2
Move egl.h to render/egl.h
7 years ago
Scott Anderson
1b18b0a27d
Fix time and transform
7 years ago
Scott Anderson
6bf508df81
Add closing with WM button
7 years ago
Scott Anderson
8027232ae5
Add timer for rendering loop
7 years ago
Scott Anderson
9ca5b0cae8
Add basic input
7 years ago
Scott Anderson
3a5b150df2
Basic rendering
7 years ago
Scott Anderson
bbe90d41bb
Add EGL for X11
7 years ago
Scott Anderson
7ad2a57feb
Open X11 Window
7 years ago
Scott Anderson
a598e6d026
Add X11 backend skeleton
7 years ago