Hi,

I saw when you press F11 in a wayland window, the window will turn to "fullscreen" which means it will do the same crap as it does in X: Setting the window to overlap all windows, set the position to 0,0 and the size to w,h. As you see in X, this concept is not really a concept, it's a hack that makes linux unusable for gaming or other fullscreen applications because you cannot switch a program without closing the fullscreen window first.

What I want for wayland is this:

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 13c71bd..f91d937 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -349,6 +349,15 @@
       <arg name="x" type="int"/>
       <arg name="y" type="int"/>
     </request>
+
+    <!-- fullscreen toggles a flag if the compositor should stretch that
+         surface over the full screen without showing any other windows
+         or noritifations. The old x and y of the display is stored on
+         waylands site and is reset when setting fullscreen=0.
+         Fullscreen windows should only be shown when they are on focus.-->
+    <request name="fullscreen">
+      <arg name="fullscreen" type="uint"/>
+    </request>

     <!-- Make the surface visible as a toplevel window. -->
     <request name="map_toplevel"/>


I hope, the patch will be applied and the function will be implemented (if not, i will do)
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to