mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
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. |
||
|---|---|---|
| .. | ||
| desktop.c | ||
| idle_inhibit_v1.c | ||
| launcher.c | ||
| layer_shell.c | ||
| output.c | ||
| surface.c | ||
| transaction.c | ||
| xdg_shell.c | ||
| xwayland.c | ||