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
Julian Orth
76c47c24d0
seat: update xkb_state when keymap changes
2022-05-04 22:10:38 +02:00
Julian Orth
a80c5690c8
docs: document screensharing with xdpw
2022-05-04 21:07:34 +02:00
Julian Orth
c56ec14345
infra: update ci scripts
2022-05-04 17:56:24 +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
b6d406d4af
infra: add sr.ht build script
2022-05-04 17:11:03 +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
03b267e51f
forker: drop parent fd in forker
...
So that the forker dies when the parent fd is dropped. This happens in
the integration tests.
2022-05-04 14:39:23 +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