summaryrefslogtreecommitdiff
path: root/protocol/xdg-shell.xml
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/xdg-shell.xml')
-rw-r--r--protocol/xdg-shell.xml27
1 files changed, 5 insertions, 22 deletions
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 19f9651d..3c186102 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -276,6 +276,11 @@
Clients that have aspect ratio or cell sizing configuration can use
a smaller size, however.
</entry>
+ <entry name="activated" value="4">
+ Client window decorations should be painted as if the window is
+ active. Do not assume this means that the window actually has
+ keyboard or pointer focus.
+ </entry>
</enum>
<event name="configure">
@@ -331,28 +336,6 @@
<request name="set_minimized" />
- <event name="activated">
- <description summary="surface was activated">
- The activated_set event is sent when this surface has been
- activated, which means that the surface has user attention.
- Window decorations should be updated accordingly. You should
- not use this event for anything but the style of decorations
- you display, use wl_keyboard.enter and wl_keyboard.leave for
- determining keyboard focus.
- </description>
- </event>
-
- <event name="deactivated">
- <description summary="surface was deactivated">
- The deactivate event is sent when this surface has been
- deactivated, which means that the surface lost user attention.
- Window decorations should be updated accordingly. You should
- not use this event for anything but the style of decorations
- you display, use wl_keyboard.enter and wl_keyboard.leave for
- determining keyboard focus.
- </description>
- </event>
-
<event name="close">
<description summary="surface wants to be closed">
The close event is sent by the compositor when the user