aboutsummaryrefslogtreecommitdiff
path: root/include/swaynag
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-03-01 00:48:22 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commited2724bd6c83ad3fdc2010b3a1e2f5967f0e8b38 (patch)
tree465419aefe089bd4396f6f48eb00f571109c89e0 /include/swaynag
parent6e5fc4c2aafd211323c6037aa868c075852bfe15 (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 'include/swaynag')
0 files changed, 0 insertions, 0 deletions