1
0
Fork 0
forked from wry/wry
Commit graph

323 commits

Author SHA1 Message Date
Julian Orth
3e3bc38920 wayland: add jay_output 2022-07-30 12:03:53 +02:00
Julian Orth
6bc7330989 input: ignored caps_lock and num_lock during modifire matching 2022-07-27 07:55:48 +02:00
Julian Orth
4bbca6abdc layer-surface: set surface output 2022-07-26 20:32:16 +02:00
Julian Orth
5de4f0962f input: don't send motion events when cursor is locked 2022-07-22 13:11:57 +02:00
Julian Orth
38d1267ec9 tree: implement pointer constraints 2022-07-21 20:16:22 +02:00
mahkoh
d4c4497043
Merge pull request #39 from mahkoh/xdg-cap 2022-07-11 10:35:04 +02:00
Julian Orth
b89d72fcd9 seat: uniformly convert scroll steps to scroll px 2022-06-05 14:14:53 +02:00
Julian Orth
615d1953aa wayland: implement xdg_toplevel.wm_capabilities 2022-06-03 21:03:37 +02:00
Julian Orth
2ced50f3a7 cli: add seat-test 2022-06-03 12:00:08 +02:00
Julian Orth
375d7da2f2 cursor: don't overwrite busy hardware buffers 2022-06-01 22:24:57 +02:00
Julian Orth
b9ce5f22d8 cursor: dispatch frame requests after rendering hardware cursor 2022-06-01 22:11:15 +02:00
Julian Orth
3b8935cf55 all: implement hardware cursors 2022-06-01 21:46:31 +02:00
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