diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-02 09:39:17 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-02 09:39:17 -0400 |
commit | 2753904edadbf3ff7b504f29931b8bfce7ad7a6f (patch) | |
tree | 75f09827611149fb8e8116ee4db283c7ac62bb0f | |
parent | c1b6dbbacdb1b54d1521f0952906387b8df14beb (diff) |
Add shell_surface set_title and set_class requests
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | protocol/wayland.xml | 16 |
2 files changed, 16 insertions, 9 deletions
@@ -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 |