summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2013-05-17 16:46:05 +0300
committerKristian Høgsberg <krh@bitplanet.net>2013-05-17 16:21:50 -0400
commit16abf6a4d42b9b9b4ab9fe3b537aa8914e989274 (patch)
treef6681b278d6f6d4126cb416c3c374bf7be63b753 /protocol
parentbeb080ed858f35608cdaed1f9741d121067da42a (diff)
protocol: set_desync should flush
wl_subsurface.set_desync should apply the cached wl_surface state. Otherwise, the sub-surface may be stuck: a commit on the parent surface, if desynchronized, will not commit the sub-surface because it is desynchronized, too. A commit on the sub-surface may not happen, if it is waiting for the frame callback from the previous commit. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Diffstat (limited to 'protocol')
-rw-r--r--protocol/subsurface.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/subsurface.xml b/protocol/subsurface.xml
index 60b4002..8db0495 100644
--- a/protocol/subsurface.xml
+++ b/protocol/subsurface.xml
@@ -229,6 +229,9 @@
Note: even if a sub-surface is set to desynchronized, a parent
sub-surface may override it to behave as synchronized. For details,
see wl_subsurface.
+
+ If a surface's parent surface behaves as desynchronized, then
+ the cached state is applied on set_desync.
</description>
</request>