summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-02 09:39:17 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-02 09:39:17 -0400
commit2753904edadbf3ff7b504f29931b8bfce7ad7a6f (patch)
tree75f09827611149fb8e8116ee4db283c7ac62bb0f
parentc1b6dbbacdb1b54d1521f0952906387b8df14beb (diff)
Add shell_surface set_title and set_class requests
-rw-r--r--TODO9
-rw-r--r--protocol/wayland.xml16
2 files changed, 16 insertions, 9 deletions
diff --git a/TODO b/TODO
index 6480b99..c64b39a 100644
--- a/TODO
+++ b/TODO
@@ -80,11 +80,6 @@ ICCCM
recommended types for text or images, types that a clipboard
manager must support, mime-types must be listed in preferred order
- - TRANSIENT_FOR handled by wl_shell_surface, WM_CLASS replaced by
- .desktop file filename (absolute path if non-standard location)
- WM_CLASS used for grouping windows in one button in a panel, for
- example. So we'll need a request to set that.
-
- we need a "no kb focus please" mechanism. Or should this be
implicit in a specific surface type?
@@ -93,10 +88,6 @@ EWMH
- configure should provide dx_left, dx_right, dy_top, dy_bottom, or
dx, dy, width and height.
- - _NET_WM_NAME (shell_surface.set_title(utf8)), _NET_WM_ICON Is this
- just another wl_surface? Do we need this if we have the .desktop
- file? How to set multiple sizes?
-
- move to workspace, keep on top, on all workspaces, minimize etc
requests for implementing client side window menu? or just make a
"show window menu" request to let the compositor display and manage
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 42bb446..3aa4062 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -545,6 +545,22 @@
<arg name="output" type="object" interface="wl_output"/>
</request>
+ <request name="set_title">
+ <description summary="set surface title">
+ </description>
+ <arg name="title" type="string"/>
+ </request>
+
+ <request name="set_class">
+ <description summary="set surface class">
+ The surface class identifies the general class of applications
+ to which the surface belongs. The class is the file name of
+ the applications .desktop file (absolute path if non-standard
+ location).
+ </description>
+ <arg name="class" type="string"/>
+ </request>
+
<event name="ping">
<description summary="ping client">
Ping a client to check if it is receiving events and sending