aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-22 08:47:01 +0100
committeremersion <contact@emersion.fr>2018-07-04 19:12:17 +0100
commite6399c61b76c9005be228b218126a2f073069600 (patch)
treeedc51e8fb02be5af872c4fae8e9bbaeb3c3819b5
parent3c0d672ebd9e1776f106ca7d963654893585a5ca (diff)
surface: fix WLR_SURFACE_STATE_BUFFER_DAMAGE value
-rw-r--r--include/wlr/types/wlr_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index 423cc886..ca33423e 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -11,7 +11,7 @@
enum wlr_surface_state_field {
WLR_SURFACE_STATE_BUFFER = 1,
WLR_SURFACE_STATE_SURFACE_DAMAGE = 2,
- WLR_SURFACE_STATE_BUFFER_DAMAGE = 2,
+ WLR_SURFACE_STATE_BUFFER_DAMAGE = 4,
WLR_SURFACE_STATE_OPAQUE_REGION = 8,
WLR_SURFACE_STATE_INPUT_REGION = 16,
WLR_SURFACE_STATE_TRANSFORM = 32,