Please no more Fullscreen cheats

Carl-Philip Haensch Carl-Philip.Haensch at mailbox.tu-dresden.de
Fri Jan 28 04:17:24 PST 2011


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)


More information about the wayland-devel mailing list