1
0
Fork 0
forked from wry/wry
Commit graph

30 commits

Author SHA1 Message Date
Julian Orth
78b557b4a1 input: implement wl_seat version 9 2024-02-04 19:56:45 +01:00
Julian Orth
887e2b6cbc input: add support for natural scrolling
Closes #69
2024-02-04 18:50:52 +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
e29fd0e70c metal: log drm device model 2022-11-13 00:16:36 +01:00
Julian Orth
6cc97ee56e metal,config: allow enabling tap-to-click 2022-06-01 14:29:56 +02:00
Julian Orth
9db389835d tree,metal: handle monitor hotplug 2022-05-19 16:54:13 +02:00
Julian Orth
dcdd91c0b0 io-uring: add readable/writable 2022-05-12 20:33:58 +02:00
Julian Orth
e27cf29693 config: tell the config about drm devices 2022-05-10 16:43:09 +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
befd5e99b2 autocommit 2022-04-10 01:35:15 CEST 2022-04-10 01:35:15 +02:00
Julian Orth
21e2216ce5 autocommit 2022-04-08 23:02:38 CEST 2022-04-08 23:02:38 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
e897d271af autocommit 2022-04-04 14:29:04 CEST 2022-04-04 14:29:04 +02:00
Julian Orth
1f71290dab autocommit 2022-04-04 00:28:58 CEST 2022-04-04 00:28:58 +02:00
Julian Orth
6ad6d83b7e autocommit 2022-04-02 00:31:30 CEST 2022-04-02 00:31:30 +02:00
Julian Orth
2dd433aa04 autocommit 2022-04-01 01:44:10 CEST 2022-04-01 01:44:10 +02:00
Julian Orth
ab4ac883ee autocommit 2022-03-30 22:27:19 CEST 2022-03-30 22:27:19 +02:00
Julian Orth
a8136ed88c autocommit 2022-03-30 18:10:37 CEST 2022-03-30 18:10:37 +02:00
Julian Orth
6ebf731aea autocommit 2022-03-29 14:11:25 CEST 2022-03-29 14:11:25 +02:00
Julian Orth
a15a02a95c autocommit 2022-03-13 22:20:31 CET 2022-03-13 22:20:31 +01:00
Julian Orth
156bd5b042 autocommit 2022-03-13 19:41:04 CET 2022-03-13 19:41:04 +01:00
Julian Orth
e18be65210 autocommit 2022-03-13 19:01:43 CET 2022-03-13 19:01:43 +01:00
Julian Orth
133035e0a6 autocommit 2022-03-12 22:58:30 CET 2022-03-12 22:58:30 +01:00
Julian Orth
21527b3e38 autocommit 2022-03-11 23:07:09 CET 2022-03-11 23:07:09 +01:00
Julian Orth
eb1d500561 autocommit 2022-03-11 20:04:41 CET 2022-03-11 20:04:41 +01:00
Julian Orth
0ae73ab9c4 autocommit 2022-03-11 19:24:53 CET 2022-03-11 19:24:53 +01:00
Julian Orth
b1890894b2 autocommit 2022-03-11 18:15:21 CET 2022-03-11 18:15:21 +01:00
Julian Orth
0399772467 autocommit 2022-03-09 17:51:17 CET 2022-03-09 17:51:17 +01:00
Julian Orth
4df6b559b7 autocommit 2022-03-09 14:01:21 CET 2022-03-09 14:01:21 +01:00