1
0
Fork 0
forked from wry/wry
Commit graph

85 commits

Author SHA1 Message Date
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
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
3d4a6b21f3 autocommit 2022-04-30 13:45:20 CEST 2022-04-30 13:45:20 +02:00
Julian Orth
ed0beb8ff5 autocommit 2022-04-28 20:33:24 CEST 2022-04-28 20:33:24 +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
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
1227ede560 autocommit 2022-04-20 17:28:17 CEST 2022-04-20 17:28:17 +02:00
Julian Orth
ab3c2e44f4 autocommit 2022-04-20 16:11:37 CEST 2022-04-20 16:11:37 +02:00
Julian Orth
fa1ec0b36c autocommit 2022-04-20 14:58:34 CEST 2022-04-20 14:58:34 +02:00
Julian Orth
54cf01f745 autocommit 2022-04-18 14:14:25 CEST 2022-04-18 14:14:25 +02:00
Julian Orth
50b792db78 autocommit 2022-04-16 13:42:13 CEST 2022-04-16 13:42:13 +02:00
Julian Orth
661a28e5b0 autocommit 2022-04-13 12:58:04 CEST 2022-04-13 12:58:04 +02:00
Julian Orth
8924936079 autocommit 2022-04-12 17:26:33 CEST 2022-04-12 17:26:33 +02:00
Julian Orth
86ca98c38a autocommit 2022-04-11 13:11:56 CEST 2022-04-11 13:11:56 +02:00
Julian Orth
6b3316e920 autocommit 2022-04-10 18:26:13 CEST 2022-04-10 18:26:13 +02:00
Julian Orth
af152f7f3e autocommit 2022-04-10 01:54:16 CEST 2022-04-10 01:54:16 +02:00
Julian Orth
befd5e99b2 autocommit 2022-04-10 01:35:15 CEST 2022-04-10 01:35:15 +02:00
Julian Orth
21e2216ce5 autocommit 2022-04-08 23:02:38 CEST 2022-04-08 23:02:38 +02:00
Julian Orth
be32036824 autocommit 2022-04-07 17:31:31 CEST 2022-04-07 17:31:31 +02:00
Julian Orth
6de9fb8303 autocommit 2022-04-02 19:38:13 CEST 2022-04-02 19:38:13 +02:00
Julian Orth
6ad6d83b7e autocommit 2022-04-02 00:31:30 CEST 2022-04-02 00:31:30 +02:00
Julian Orth
2dd433aa04 autocommit 2022-04-01 01:44:10 CEST 2022-04-01 01:44:10 +02:00
Julian Orth
ab4ac883ee autocommit 2022-03-30 22:27:19 CEST 2022-03-30 22:27:19 +02:00
Julian Orth
28c9b46400 autocommit 2022-03-30 03:00:46 CEST 2022-03-30 03:00:46 +02:00