1
0
Fork 0
forked from wry/wry
Commit graph

112 commits

Author SHA1 Message Date
Julian Orth
b83bf0657b tree: add Node::node_output 2025-04-26 21:49:09 +02:00
Julian Orth
65a66c2e26 tree: allow floats to be pinned 2025-04-24 18:46:20 +02:00
Julian Orth
09e5f89174 all: use trait upcasting 2025-04-03 17:03:32 +02:00
Julian Orth
3338909170 all: set rust edition to 2024 2025-02-21 10:44:29 +01:00
Julian Orth
f80ac20220 render: bound async title textures to their rect 2025-02-20 12:22:24 +01:00
Julian Orth
f4e8d132f3 toplevel: remove focus_node 2025-02-19 16:59:15 +01:00
Julian Orth
c987fdb58d all: track serials as u64 internally 2024-10-17 16:37:29 +02:00
Julian Orth
e6c3c9c1ed tree: map toplevel identifiers to toplevels 2024-10-10 21:21:30 +02:00
Julian Orth
d8ee1ac19c config: make ui dragging configurable 2024-10-02 11:35:07 +02:00
Julian Orth
132986df2a tree: implement tile dragging 2024-10-02 11:35:05 +02:00
Julian Orth
83fd9f211e tree: allow toggling mono with right click 2024-10-01 10:29:20 +02:00
Julian Orth
12f358c0d9 text: render text asynchronously 2024-09-28 22:29:13 +02:00
Julian Orth
d9eb14e2bc config: store font names in Arc 2024-09-28 22:29:02 +02:00
Julian Orth
e377470f3f all: use expect attribute where possible 2024-09-06 11:08:22 +02:00
Julian Orth
bb66abb817 all: implement damage tracking 2024-07-12 20:05:31 +02:00
Julian Orth
639961b1d4 tree: activate nested container when moving toplevel into it 2024-06-05 20:09:32 +02:00
Julian Orth
70a8f47288 tree: add window-management mode 2024-05-26 02:36:19 +02:00
Julian Orth
0d7a07ec40 all: add HashMapExt 2024-05-08 15:59:43 +02:00
Julian Orth
7ed499eabd wayland: implement tablet-v2 2024-05-03 11:16:07 +02:00
Julian Orth
efdca4de49 seat: add cursor groups 2024-05-02 21:24:19 +02:00
Julian Orth
8cee61122e all: remove dead code 2024-05-02 19:37:19 +02:00
Julian Orth
17a0dfed5e seat: add framework to select toplevels 2024-04-18 17:12:11 +02:00
Julian Orth
2445226cbe tree: unify toplevel active changes 2024-03-04 13:49:05 +01:00
Julian Orth
3dfdc26592 tree: don't set new mono child in invisible container to visible 2024-03-04 13:23:23 +01:00
Julian Orth
386d74f926 tree: restack floaters and popups on demand 2024-03-03 15:47:01 +01:00
Julian Orth
d425768760 tree: support toggling floating with double clicks 2024-03-03 14:18:46 +01:00
Julian Orth
54d93f84da all: add (Clone)Cell::is_some and is_none 2024-03-02 18:09:40 +01:00
Julian Orth
fe804b8276 tree: clean up object attachment 2024-02-22 14:10:06 +01:00
Julian Orth
1d1d542839 tree: move common code out of ToplevelNode trait 2024-02-22 14:09:58 +01:00
Julian Orth
0ab9ec3b75 tree: don't attach container node to parent during construction 2024-02-21 19:39:33 +01:00
Julian Orth
062bcb25ee tree: fix toplevel float extent memoization 2024-02-19 22:58:58 +01:00
Julian Orth
250026f7f6 render: fix top-left clipping of surfaces 2024-02-15 00:05:29 +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
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
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
5b2eb5855a tree: update to latest version of wp_fractional_scale 2022-11-12 15:05:58 +01:00
Julian Orth
b89d72fcd9 seat: uniformly convert scroll steps to scroll px 2022-06-05 14:14:53 +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
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
a310329c42 tree: move container scroll logic to separate util 2022-05-07 18:11:31 +02:00