1
0
Fork 0
forked from wry/wry
Commit graph

137 commits

Author SHA1 Message Date
Julian Orth
4d8e744c2f video: render hardware cursor in screencasts 2024-02-16 19:15:05 +01:00
Julian Orth
d4fc672fb3 tree: move output scale to global 2024-02-16 19:15:03 +01:00
mahkoh
30fb0f087f
Merge pull request #87 from mahkoh/jorth/fix-surface-position
render: fix top-left clipping of surfaces
2024-02-15 00:58:58 +01:00
Julian Orth
250026f7f6 render: fix top-left clipping of surfaces 2024-02-15 00:05:29 +01:00
Julian Orth
3f7b1ddd49 wayland: implement ext-foreign-toplevel-list-v1 2024-02-14 21:13:41 +01:00
Julian Orth
41d7531cd5 wayland: implement xdg-activation 2024-02-14 18:33:17 +01:00
Julian Orth
0628a9d393 tree: fix some issues with toplevel visibility handling 2024-02-14 17:43:05 +01:00
Julian Orth
4ba8550da8 render: compute image width/height in single function call 2024-02-08 15:24:02 +01:00
Julian Orth
a04870388f text: re-use textures if possible 2024-02-08 15:24:02 +01:00
Julian Orth
3acf0558a3 wayland: implement wp_cursor_shap_manager_v1 2024-02-08 14:13:18 +01:00
Julian Orth
71fc851705 render: keep track of outputs whose hardware cursor must be rendered 2024-02-07 21:43:01 +01:00
Julian Orth
24e410a5b5 render: hide graphics API behind traits 2023-10-22 20:42:35 +02:00
Julian Orth
d650b3375d render: split module into gfx_apis and renderer 2023-10-22 20:28:32 +02:00
Julian Orth
5e8a6eb86f render: split rendering into two phases
In the first phase we collect a list of simple operations (copying
textures and filling rectangles.)

In the second phase we send this list to the graphics API to be
executed.

As part of this, we also remove the use of scissors.
2023-10-22 16:10:12 +02:00
Julian Orth
a2a04512ed all: address clippy lints 2023-10-22 16:01:40 +02:00
Julian Orth
9c7299234a config: allow capturing only selected workspaces 2023-02-04 14:07:55 +01:00
Julian Orth
5b2eb5855a tree: update to latest version of wp_fractional_scale 2022-11-12 15:05:58 +01:00
Julian Orth
6193569596 xwayland: add x-surface indirection 2022-10-16 20:53:59 +02:00
Julian Orth
ae991b9038 all: address clippy lints 2022-08-13 17:46:23 +02:00
Julian Orth
a8f627f15c tree: render top layer over fullscreen windows 2022-07-31 13:18:20 +02:00
Julian Orth
9c21d118d6 tree: render overlayes over fullscreen windows 2022-07-31 11:28:25 +02:00
Julian Orth
8b93957f31 text: add metrics and dynamic height 2022-07-31 11:25:57 +02:00
Julian Orth
fc9795cb5d tree: use create_workspace where appropriate 2022-07-30 12:08:21 +02:00
Julian Orth
1bdfa4c85e tree: batch output render data updates 2022-07-30 12:08:21 +02:00
Julian Orth
5a4e48e54a wayland: add jay_screencast 2022-07-30 12:08:18 +02:00
Julian Orth
022d8d1db0 wayland: add jay_workspace_watcher 2022-07-30 12:03:55 +02:00
Julian Orth
83baa6aadb wayland: add jay_workspace 2022-07-30 12:03:55 +02:00
Julian Orth
3e3bc38920 wayland: add jay_output 2022-07-30 12:03:53 +02:00
Julian Orth
6ccb555638 tree: re-render float title on active change 2022-06-29 21:44:53 +02:00
Julian Orth
6be85847a6 tree: ignore hidden stacked windows 2022-06-29 21:41:37 +02:00
Julian Orth
b89d72fcd9 seat: uniformly convert scroll steps to scroll px 2022-06-05 14:14:53 +02:00
Julian Orth
259340938b tree: update outputs of surfaces when moving a workspace 2022-06-03 21:02:34 +02:00
Julian Orth
3b8935cf55 all: implement hardware cursors 2022-06-01 21:46:31 +02:00
Julian Orth
59445dd875 tree: update scale of stacked surfaces 2022-05-30 17:40:12 +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
c0afc5cf2a config: allow setting per-device scroll wheel speed 2022-05-27 16:00:16 +02:00
Julian Orth
145e4dbc24 wayland: add times to all input events 2022-05-26 12:25:59 +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
858e777f5a tree: activate workspace on click 2022-05-17 18:58:30 +02:00
Julian Orth
70cc24107b tree: remove hidden, unused workspaces 2022-05-17 17:47:01 +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
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
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