mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
ed2724bd6c
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 |