cosmic-comp/src
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
..
backend shell: Rework fullscreen/maximize 2023-09-14 19:41:36 +02:00
config shell/tiling: Implement window swap mode 2023-09-12 20:53:35 +02:00
input shell: Rework fullscreen/maximize 2023-09-14 19:41:36 +02:00
logger log: Calloop is very chatty 2023-03-09 19:24:00 +01:00
shell tiling: Fix rendering single-stack window on empty workspace 2023-09-14 19:41:36 +02:00
utils Update Smithay 2023-09-13 20:24:11 -07:00
wayland wayland: map windows with correct geometry 2023-09-21 14:39:45 +00:00
debug.rs Update smithay-egui and fix compilation of debug 2023-08-07 08:47:51 -07:00
main.rs Revert "loop: Schedule rendering for running animations on idle" 2023-08-31 13:53:30 +02:00
session.rs xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
state.rs Add security context protocol 2023-09-05 13:47:23 -07:00
systemd.rs xwm: Don't do multiple 2023-03-09 14:50:57 +01:00
xwayland.rs shell: Fix closed x11 windows closing stacks 2023-09-12 13:22:49 +02:00