aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2022-03-01 00:48:22 -0500
committerFurkan Sahin <furkan-dev@proton.me>2022-03-01 00:48:22 -0500
commit06e7f72b06ccd1e624eccb8eca6c791b25c69140 (patch)
tree465419aefe089bd4396f6f48eb00f571109c89e0 /include
parentfcd6bd4d28ce628aea218aff0d3c7703090714ac (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')
0 files changed, 0 insertions, 0 deletions