[PATCH wayland] protocol: use transient flags for activate or not surfaces

Tiago Vignatti tiago.vignatti at intel.com
Mon May 21 06:47:44 PDT 2012


Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 TODO                 |    3 ---
 protocol/wayland.xml |    4 ++++
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/TODO b/TODO
index c8dcbac..4e8002d 100644
--- a/TODO
+++ b/TODO
@@ -63,9 +63,6 @@ ICCCM
    recommended types for text or images, types that a clipboard
    manager must support, mime-types must be listed in preferred order
 
- - we need a "no kb focus please" mechanism.  Or should this be
-   implicit in a specific surface type?
-
 EWMH
 
  - configure should provide dx_left, dx_right, dy_top, dy_bottom, or
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index f14d1d2..d70ced7 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -440,6 +440,10 @@
       </description>
     </request>
 
+    <enum name="transient">
+      <entry name="inactive" value="0x1" summary="do not set keyboard focus"/>
+    </enum>
+
     <request name="set_transient">
       <description summary="make the surface a transient surface">
 	Map the surface relative to an existing surface. The x and y
-- 
1.7.9.5



More information about the wayland-devel mailing list