diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-03-01 00:48:22 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | ed2724bd6c83ad3fdc2010b3a1e2f5967f0e8b38 (patch) | |
tree | 465419aefe089bd4396f6f48eb00f571109c89e0 /sway/commands/reload.c | |
parent | 6e5fc4c2aafd211323c6037aa868c075852bfe15 (diff) |
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.
Diffstat (limited to 'sway/commands/reload.c')
0 files changed, 0 insertions, 0 deletions