diff options
author | Kirill Primak <vyivel@posteo.net> | 2021-09-16 14:04:56 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-21 10:09:09 +0200 |
commit | b72a217fcc9f8bb47788c2068093579ac893301c (patch) | |
tree | c9ce0cef4f3a0a6fdb42c54f3ed1c3df2845fd8a /backend/drm/backend.c | |
parent | 9579d62a160821a107763325a515d3aee0a1e158 (diff) |
xdg-toplevel: refactor configure/state flow
Previously, `wlr_xdg_toplevel` didn't follow the usual "current state +
pending state" pattern and instead had confusingly named
`client_pending` and `server_pending`. This commit removes them, and
instead introduces `wlr_xdg_toplevel.scheduled` to store the properties
that are yet to be sent to a client, and `wlr_xdg_toplevel.requested`
to store the properties that a client has requested. They have different
types to emphasize that they aren't actual states.
Diffstat (limited to 'backend/drm/backend.c')
0 files changed, 0 insertions, 0 deletions