[PATCH wayland-protocols v3 15/17] xdg-shell: Specify what happens when (un)maximizing while fullscreen

Jonas Ådahl jadahl at gmail.com
Wed Nov 15 11:20:04 UTC 2017


Specify that the maximize/unmaximize state requests only affects the
state a surface will return to if it is currently fullscreen.

Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
Reviewed-by: Mike Blumenkrantz <zmike at samsung.com>
---
 stable/xdg-shell/xdg-shell.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml
index 4c8083a..6101413 100644
--- a/stable/xdg-shell/xdg-shell.xml
+++ b/stable/xdg-shell/xdg-shell.xml
@@ -849,6 +849,10 @@
 
 	If the surface was already maximized, the compositor will still emit
 	a configure event with the "maximized" state.
+
+	If the surface is in a fullscreen state, this request has no direct
+	effect. It will alter the state the surface is returned to when
+	unmaximized if not overridden by the compositor.
       </description>
     </request>
 
@@ -871,6 +875,10 @@
 
 	If the surface was already not maximized, the compositor will still
 	emit a configure event without the "maximized" state.
+
+	If the surface is in a fullscreen state, this request has no direct
+	effect. It will alter the state the surface is returned to when
+	unmaximized if not overridden by the compositor.
       </description>
     </request>
 
-- 
2.14.2



More information about the wayland-devel mailing list