diff options
Diffstat (limited to 'src/platform/wayland/internal.h')
| -rw-r--r-- | src/platform/wayland/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/wayland/internal.h b/src/platform/wayland/internal.h index 84a603d..34d4133 100644 --- a/src/platform/wayland/internal.h +++ b/src/platform/wayland/internal.h @@ -307,6 +307,8 @@ struct wayland_surface { int ime_shown_begin, ime_shown_end; int floating_width, floating_height; int cur; + /* Buffer holding the last presented frame, valid while has_shown is set. */ + int shown; int width, height; int logical_width, logical_height; int req_width, req_height; @@ -318,6 +320,7 @@ struct wayland_surface { /* 1-byte booleans packed tightly */ bool frame_active; bool frame_presented; + bool has_shown; bool size_pending; bool sample_refresh; bool has_pending_serial; |
