1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-06-02 14:56:30 +02:00
sway/sway/desktop
Alexander Orzechowski ed2724bd6c xwayland: Cleanup geometry handling on commit
Instead of doing this roundabout thing where we get the surface from the
view, let's instead get it from the `wlr_surface_state` that we already
track in `handle_commit`. This makes the NULL state impossible which is
what the old `get_geometry` is checking for and generally cleans
things up a little bit.

Also don't check if the geometry x/y changed, those will always
be 0 for xwayland.
2024-01-18 18:36:54 +03:00
..
desktop.c chore: chase wlr_output_layout_get_box() update 2022-01-31 11:44:03 +01:00
idle_inhibit_v1.c Drop support for KDE's idle protocol 2023-10-05 00:01:54 +02:00
launcher.c Fix old style function definitions 2023-04-14 18:21:43 +02:00
layer_shell.c scene_graph: Port layer_shell 2024-01-18 18:36:54 +03:00
output.c scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
surface.c renderer: Render scene_graph 2024-01-18 18:36:54 +03:00
transaction.c transaction: ready signals will return success bools 2024-01-18 18:36:54 +03:00
xdg_shell.c scene_graph: Port xdg_shell 2024-01-18 18:36:54 +03:00
xwayland.c xwayland: Cleanup geometry handling on commit 2024-01-18 18:36:54 +03:00