Julian Orth
de71be0674
tests: fix tests
2023-01-01 23:08:09 +01:00
Julian Orth
9812a02f87
io: use io_uring for all io
...
There should no longer be any
- read
- write
- connect
- sendmsg
- recvmsg
- accept
calls in the codebase. Previously we were using a mix of io_uring and
these calls which had some negative effects: Since we were using the old
system calls, we had to set the file descriptors to non-blocking. But
our io_uring code did not handle EAGAIN. This lead to programs sometimes
being killed when the wayland IO was actually blocking.
Now all file descriptors are set to blocking, but io_uring makes it
non-blocking from our perspective. The one exception are evdev files
because they are read via libinput and libinput uses the old system
calls.
2022-12-31 17:56:58 +01:00
Julian Orth
c6c87bdaa1
backend: add DevicesEnumerated event
2022-11-13 16:53:02 +01:00
Julian Orth
3c074fe4cf
tests: fix compilation
2022-07-31 12:00:03 +02:00
Julian Orth
a162055f1d
portal: add a desktop portal
2022-07-31 11:25:57 +02:00
Julian Orth
6cc97ee56e
metal,config: allow enabling tap-to-click
2022-06-01 14:29:56 +02:00
Julian Orth
20f0fba553
input: rename axix_smooth to axis_px
2022-05-27 17:02:44 +02:00
Julian Orth
50c87d6da7
wayland: implement wl_seat v8
2022-05-27 15:39:48 +02:00
Julian Orth
145e4dbc24
wayland: add times to all input events
2022-05-26 12:25:59 +02:00
Julian Orth
858e777f5a
tree: activate workspace on click
2022-05-17 18:58:30 +02:00
Julian Orth
70cc24107b
tree: remove hidden, unused workspaces
2022-05-17 17:47:01 +02:00
Julian Orth
fe80440f38
config: add documentation
2022-05-16 18:21:56 +02:00
Julian Orth
6916f03e94
config: clean up and document theming
2022-05-15 20:13:25 +02:00
Julian Orth
e4f97287bc
io-uring: add sendmsg
2022-05-13 17:37:20 +02:00
Julian Orth
dcdd91c0b0
io-uring: add readable/writable
2022-05-12 20:33:58 +02:00
Julian Orth
3875c63172
async: rebase wheel on top of async engine
2022-05-12 17:23:17 +02:00
Julian Orth
e27cf29693
config: tell the config about drm devices
2022-05-10 16:43:09 +02:00
Julian Orth
b970965ed9
tree: switch workspace by scrolling
2022-05-07 18:27:20 +02:00
Julian Orth
ec9710983c
tree: use trunc instead of round when scrolling containers
2022-05-07 18:06:55 +02:00
Julian Orth
fca7c7e1d2
tree: focus container mono child after scroll
2022-05-07 14:24:06 +02:00
Julian Orth
5e21e00059
config: generate graphics-initialized event in the frontend
2022-05-06 17:15:13 +02:00
Julian Orth
d2913449ea
metal: handle gpu reset
...
Unfortunately this doesn't seem to work on amdgpu [1]. I've tested that
it works on i915.
[1] https://gitlab.freedesktop.org/drm/amd/-/issues/1749
2022-05-06 16:45:56 +02:00
Julian Orth
4584dee160
tree: never focus wl-subsurface surfaces
2022-05-05 14:04:15 +02:00
Julian Orth
76c47c24d0
seat: update xkb_state when keymap changes
2022-05-04 22:10:38 +02:00
Julian Orth
8517df1a38
it: don't fail if render context cannot be created
2022-05-04 17:34:57 +02:00
Julian Orth
8c3106f631
tree: ensure that node is marked active after un-fullscreening
2022-05-04 16:33:28 +02:00
Julian Orth
23f1aa5a31
it: test focus moving
2022-05-04 15:10:36 +02:00
Julian Orth
c827a93dbb
it: test window gains kb focus when mapped
2022-05-04 14:36:18 +02:00
Julian Orth
cbf539cbcc
it: test subsurface positioning
2022-05-03 18:32:43 +02:00
Julian Orth
fd027d9a5a
it: simplify tracking of deleted objects
2022-05-03 17:31:44 +02:00
Julian Orth
ae34a65efe
it: test region creation
2022-05-03 16:33:11 +02:00
Julian Orth
6af9d909b8
it: track whether objects have been deleted
2022-05-03 15:54:32 +02:00
Julian Orth
cdab4d4cad
it: test seat creation and broadcast
2022-05-03 15:25:48 +02:00
Julian Orth
fa8d079c72
it: run tests in parallel
2022-05-03 12:45:20 +02:00
Julian Orth
9904717c71
all: fix memory leaks
2022-05-02 22:11:59 +02:00
Julian Orth
e212e0b8b1
config: add TestConfig
2022-05-02 20:53:07 +02:00
Julian Orth
552c8a9950
autocommit 2022-05-02 00:00:45 CEST
2022-05-02 00:00:45 +02:00
Julian Orth
04580c4aeb
autocommit 2022-05-01 21:44:09 CEST
2022-05-01 21:44:09 +02:00
Julian Orth
e1d5bf0e5d
autocommit 2022-05-01 17:23:55 CEST
2022-05-01 17:23:55 +02:00