1
0
Fork 0
forked from wry/wry
Commit graph

303 commits

Author SHA1 Message Date
Julian Orth
70cc24107b tree: remove hidden, unused workspaces 2022-05-17 17:47:01 +02:00
Julian Orth
871827fdde infra: run pacman -Syu --noconfirm ... 2022-05-17 16:08:07 +02:00
Julian Orth
dad1db502c infra: run pacman -Syu 2022-05-17 16:07:06 +02:00
Julian Orth
1726f0bf14 infra: test that build.sr.ht works again 2022-05-17 16:04:40 +02:00
Julian Orth
20b1f29343 io_uring: remove unnecessary interior mutability 2022-05-17 15:10:45 +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
4780315f50 io-uring: ensure that timeouts are encoded in the same submission 2022-05-13 22:31:56 +02:00
Julian Orth
7cc6c945d3 io-uring: add recvmsg 2022-05-13 21:17:28 +02:00
Julian Orth
82aae68d98 docs: update notes regarding multi-gpu systems 2022-05-13 20:22:20 +02:00
Julian Orth
2372fb74c2 docs: remove mention of pointer-target caching from readme
Based on my measurements this pales in comparison to rendering overhead.
2022-05-13 20:16:00 +02:00
Julian Orth
f50964d110 utils: use UnsafeCell in AsyncQueue 2022-05-13 20:15:31 +02:00
Julian Orth
22b7fb2ced tests: fix ol' forker dumping core in tests 2022-05-13 19:26:55 +02:00
Julian Orth
3bd1813d50 wayland: allow zwlr_layer_shell_v1.destroy in all versions 2022-05-13 18:29:25 +02:00
Julian Orth
ad85d89641 io-uring: add timeout argument to write 2022-05-13 18:24:12 +02:00
Julian Orth
837b5592bc io-uring: fix timeout detection 2022-05-13 18:05:34 +02:00
Julian Orth
e4f97287bc io-uring: add sendmsg 2022-05-13 17:37:20 +02:00
Julian Orth
9416efeabe runtime: replace epoll by io-uring 2022-05-12 22:50:33 +02:00
Julian Orth
98cc85e2d3 acceptor: rebase from EventLoop onto AsyncEngine 2022-05-12 21:35:08 +02:00
Julian Orth
3037ee439c sighand: rebase from EventLoop onto AsyncEngine 2022-05-12 21:22:32 +02:00
Julian Orth
4d8a340cd0 async: move timer out of async engine 2022-05-12 20:48:29 +02:00
Julian Orth
dcdd91c0b0 io-uring: add readable/writable 2022-05-12 20:33:58 +02:00
Julian Orth
25d817b722 config: damage the screen after setting status 2022-05-12 17:24:37 +02:00
Julian Orth
3875c63172 async: rebase wheel on top of async engine 2022-05-12 17:23:17 +02:00
Julian Orth
87a90a8ae4 async: split async_engine into multiple files 2022-05-12 16:10:22 +02:00
Julian Orth
57e8077942 runtime: ignore SIGPIPE 2022-05-12 14:17:10 +02:00
Julian Orth
285724b4f1 xwayland: use io_uring to prevent lockups
See https://gitlab.freedesktop.org/wayland/wayland/-/issues/296
2022-05-11 21:45:44 +02:00
Julian Orth
5573b2a1b7 xwayland: remove leftover logging 2022-05-10 17:18:57 +02:00
Julian Orth
e27cf29693 config: tell the config about drm devices 2022-05-10 16:43:09 +02:00
Julian Orth
99fcd63438 all: run rustfmt 2022-05-10 12:56:04 +02:00
Julian Orth
336352ba6d tree: focus container child upon title-bar click 2022-05-10 12:54:42 +02:00
Julian Orth
d6fabcb2b5 xwayland: implement copy/paste 2022-05-10 01:47:36 +02:00
Julian Orth
c8068ee2e7 async: don't leak AsyncFdData 2022-05-09 15:27:00 +02:00
Julian Orth
d52dc5f6e9 xwayland: prevent activation loops 2022-05-08 23:28:14 +02:00
Julian Orth
083b7b2290 wayland: don't advertise wl-drm, linux-dmabuf until gfx initialization 2022-05-08 12:51:22 +02:00
Julian Orth
1e9cc60693 wayland: prevent unprivileged clients from binding secure globals 2022-05-07 19:59:51 +02:00
Julian Orth
6c9e058c3f tree: signal tree_changed after switching workspace 2022-05-07 18:30:34 +02:00
Julian Orth
b970965ed9 tree: switch workspace by scrolling 2022-05-07 18:27:20 +02:00
Julian Orth
a310329c42 tree: move container scroll logic to separate util 2022-05-07 18:11:31 +02:00
Julian Orth
ec9710983c tree: use trunc instead of round when scrolling containers 2022-05-07 18:06:55 +02:00
Julian Orth
b7831e1019 tree: use discrete steps when scrolling containers 2022-05-07 17:30:54 +02:00
Julian Orth
fca7c7e1d2 tree: focus container mono child after scroll 2022-05-07 14:24:06 +02:00
Julian Orth
3abd72b330 all: run rustfmt 2022-05-07 00:28:02 +02:00
Julian Orth
cc090b1d0f xwayland: fix mapping of windows whose size is already correct at map time
IntelliJ in particular opens new windows with the exact same size as the
existing window. In a mono layout, this is the resulting window size.
For some reason, IntelliJ will not draw itself properly if it doesn't
get resized after mapping. So send a dummy 1x1 configure at map time.
2022-05-07 00:26:18 +02:00
Julian Orth
5e21e00059 config: generate graphics-initialized event in the frontend 2022-05-06 17:15:13 +02:00
Julian Orth
c30f4d7266 docs: document gpu reset recovery 2022-05-06 17:01:24 +02:00
Julian Orth
ce183a0f45 all: run rustfmt 2022-05-06 16:47:54 +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
5afde58086 tree: set toplevel on newly created subsurfaces 2022-05-05 12:23:57 +02:00