Commit graph

36 commits

Author SHA1 Message Date
Ian Douglas Scott
3036448c19 Update Smithay, with Window that supports X11 surfaces 2024-02-22 17:49:46 +01:00
Victoria Brekenfeld
f9f8af10a0 kms: Drop early_import as it seems to hurt performance 2024-02-19 13:09:49 +01:00
Victoria Brekenfeld
83ec68d383 chore: Update smithay 2024-02-19 13:09:49 +01:00
Victoria Brekenfeld
97a13ea515 shell: Lift/Refactor (interactive) resize to consider sticky windows 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
10c196a080 shell: Lift recalculate to consider sticky_layer 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
d503e44ca8 shell: refactor single visible_output 2024-01-02 13:24:07 +01:00
Victoria Brekenfeld
64143e75e7 shell: Properly handle fullscreen outputs 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
72df9d07e6 shell: One workspace per output 2023-10-25 19:41:55 +02:00
Victoria Brekenfeld
4e12957169 chore: Update deps 2023-10-02 21:51:49 +02:00
Alyssa Ross
40eb78debf
wayland: map windows with correct geometry
Consider a simple client that doesn't use set_window_geometry,
committing after attaching a buffer to a window surface.

Window::geometry falls back to Window::bbox, but when
Shell::map_window called Window::geometry, Window::bbox hadn't been
set yet, because that only happened later in
<State as CompositorHandler>::commit, so the window would be mapped
with a size of (0, 0).

This resulted in server-side decorations not being drawn for such
clients until they were re-focused or resized.

The fix is to add an extra call to Window::on_commit() before mapping
it, so that its bbox is set correctly when Shell::map_window asks for
its geometry.
2023-09-21 14:39:45 +00:00
Victoria Brekenfeld
abf430f956 shell: Rework fullscreen/maximize 2023-09-14 19:41:36 +02:00
Victoria Brekenfeld
1868f6b0f7 shell: Recalculate tiling-layer when layer-shell updates 2023-07-13 18:00:09 +02:00
Victoria Brekenfeld
331b884f1e tiling: Animate tree changes 2023-05-12 20:01:37 +02:00
Victoria Brekenfeld
35de500c00 chore: update smithay + switch to tracing 2023-02-24 17:43:07 +01:00
Victoria Brekenfeld
9b1221edc5 xwm: More fixes 2023-01-23 18:25:01 +01:00
Victoria Brekenfeld
1d28574088 xwayland: Add initial support 2023-01-18 20:25:32 +01:00
Victoria Brekenfeld
7992ad67f6 update smithay, iced; reworked window for xwayland 2023-01-16 15:37:54 +01:00
Victoria Brekenfeld
8a2e1e5c89 deps: Update smithay 2023-01-16 15:22:34 +01:00
Victoria Brekenfeld
38c0acb943 wayland: Explicitly handle destroyed surfaces 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
a8e0f99e4b shell: Fix layer_shell 2022-11-23 16:10:37 +01:00
Victoria Brekenfeld
5a4df346a8 wip: screencopy 2022-11-23 16:09:58 +01:00
Victoria Brekenfeld
7d068ab6bc shell/floating: Reintroduce resizing 2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
00f1b029da wip: New shell logic 2022-11-23 16:08:32 +01:00
Victoria Brekenfeld
6690e13d54 deps: Update smithay 2022-08-31 13:01:23 +02:00
Victoria Brekenfeld
9e0a6e1b5f fmt commit 2022-08-30 13:28:36 +02:00
Victoria Brekenfeld
1de3ba9dc1 compositor: Don't schedule a render twice 2022-08-03 16:42:09 +02:00
Victoria Brekenfeld
56e6ad8953 compositor: Schedule a new render after commit 2022-08-02 11:54:14 +02:00
Victoria Brekenfeld
4f142d50b3 compositor: Import surfaces after mapping them 2022-07-18 18:31:50 +02:00
Victoria Brekenfeld
8ecc1345a6 shell: rename space_for_{window -> surface} 2022-07-11 22:39:56 +02:00
Victoria Brekenfeld
1fb49824f9 deps: Update smithay
Fixes misbehaving floating windows
2022-07-07 19:46:25 +02:00
Victoria Brekenfeld
397ddaab1e shell: Properly center and resize new floating windows 2022-07-06 23:41:11 +02:00
Victoria Brekenfeld
65046f1265 shell: Focus new windows 2022-07-06 23:35:17 +02:00
Victoria Brekenfeld
be136306cc shell: xdg-popup positioning logic 2022-07-06 14:18:18 +02:00
Victoria Brekenfeld
c3c0a25a80 layer_shell: Handle configures better 2022-07-05 20:43:30 +02:00
Victoria Brekenfeld
39de286d51 cargo fmt 2022-07-04 16:01:06 +02:00
Victoria Brekenfeld
06d5989223 wayland: Rework handlers and protocols into separate files 2022-07-04 16:01:06 +02:00