1
0
Fork 0
forked from wry/wry
Commit graph

161 commits

Author SHA1 Message Date
Julian Orth
e52a60b3b6 wayland: implement scaling
This involves many subsystems:

- config:
    - allow setting the connector scale
    - allow setting the cursor size
- cursors:
    - load server cursors for all requested sizes and scales
- wl_surface:
    - track the output the surface belongs to
    - send wl_surface.enter/leave
- wl_output:
    - implement wl_output.scale
- text:
    - pre-render texts for all used scales
- renderer:
    - properly align scale textures and rectangles
- wp_fractional_scale:
    - new interface for fractional scaling
2022-05-30 17:00:25 +02:00
Julian Orth
16aec8f87e wl_surface: unset viewporter in break_loops 2022-05-28 23:03:38 +02:00
Julian Orth
97e8d487a0 wayland: add support for NV12 format 2022-05-28 22:04:00 +02:00
Julian Orth
95327685c1 wayland: implement surface transformations
- buffer scale
- buffer transform
- viewporter
2022-05-28 18:18:29 +02:00
Julian Orth
20f0fba553 input: rename axix_smooth to axis_px 2022-05-27 17:02:44 +02:00
Julian Orth
c0afc5cf2a config: allow setting per-device scroll wheel speed 2022-05-27 16:00:16 +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
568341a3d0 wayland: handle chromium bug 1329214 gracefully 2022-05-25 19:30:02 +02:00
Julian Orth
10090c0596 tree: fix jay hanging during shutdown 2022-05-20 13:56:09 +02:00
Julian Orth
7476e6f2d9 tree: restore workspaces after monitor reconnect 2022-05-20 12:55:45 +02:00
Julian Orth
d42add4d18 all: implement screen locking 2022-05-19 23:39:11 +02:00
Julian Orth
e5c0916a25 all: fix memory leaks 2022-05-18 22:42:36 +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
3bd1813d50 wayland: allow zwlr_layer_shell_v1.destroy in all versions 2022-05-13 18:29:25 +02:00
Julian Orth
9416efeabe runtime: replace epoll by io-uring 2022-05-12 22:50:33 +02:00
Julian Orth
d6fabcb2b5 xwayland: implement copy/paste 2022-05-10 01:47:36 +02:00
Julian Orth
1e9cc60693 wayland: prevent unprivileged clients from binding secure globals 2022-05-07 19:59:51 +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
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
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
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
9904717c71 all: fix memory leaks 2022-05-02 22:11:59 +02:00
Julian Orth
7b40b42990 config: implement config reloading 2022-05-02 16:20:25 +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
Julian Orth
ac56970f14 autocommit 2022-04-30 13:53:02 CEST 2022-04-30 13:53:02 +02:00
Julian Orth
3d4a6b21f3 autocommit 2022-04-30 13:45:20 CEST 2022-04-30 13:45:20 +02:00
Julian Orth
4e717ecef8 autocommit 2022-04-29 17:57:11 CEST 2022-04-29 17:57:11 +02:00
Julian Orth
ed0beb8ff5 autocommit 2022-04-28 20:33:24 CEST 2022-04-28 20:33:24 +02:00
Julian Orth
1242a6c1e1 autocommit 2022-04-28 19:49:51 CEST 2022-04-28 19:49:51 +02:00
Julian Orth
bd63f3f5f1 autocommit 2022-04-28 15:41:12 CEST 2022-04-28 15:41:12 +02:00
Julian Orth
19aef8c58a autocommit 2022-04-28 15:19:15 CEST 2022-04-28 15:19:15 +02:00
Julian Orth
a8ad097f8b autocommit 2022-04-28 14:26:32 CEST 2022-04-28 14:26:32 +02:00
Julian Orth
324eb835bb autocommit 2022-04-27 20:37:49 CEST 2022-04-27 20:37:49 +02:00
Julian Orth
57899b3f35 autocommit 2022-04-27 18:04:02 CEST 2022-04-27 18:04:02 +02:00
Julian Orth
cff35fd7da autocommit 2022-04-24 17:15:41 CEST 2022-04-24 17:15:41 +02:00
Julian Orth
025efbaccc autocommit 2022-04-23 01:40:39 CEST 2022-04-23 01:40:39 +02:00
Julian Orth
e3b3d848c3 autocommit 2022-04-23 00:55:20 CEST 2022-04-23 00:55:20 +02:00
Julian Orth
436f383cd6 autocommit 2022-04-21 18:40:32 CEST 2022-04-21 18:40:32 +02:00
Julian Orth
32fe8b64ca autocommit 2022-04-21 18:25:34 CEST 2022-04-21 18:25:34 +02:00
Julian Orth
dae9e52347 autocommit 2022-04-20 20:20:36 CEST 2022-04-20 20:20:36 +02:00