mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
surface: add wlr_surface.previous
This commit is contained in:
parent
78555abba3
commit
012e38fbe5
2 changed files with 9 additions and 8 deletions
|
|
@ -64,9 +64,10 @@ struct wlr_surface {
|
|||
/**
|
||||
* `current` contains the current, committed surface state. `pending`
|
||||
* accumulates state changes from the client between commits and shouldn't
|
||||
* be accessed by the compositor directly.
|
||||
* be accessed by the compositor directly. `previous` contains the state of
|
||||
* the previous commit.
|
||||
*/
|
||||
struct wlr_surface_state current, pending;
|
||||
struct wlr_surface_state current, pending, previous;
|
||||
const char *role; // the lifetime-bound role or null
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue