summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2014-02-08 18:11:53 -0500
committerKristian Høgsberg <krh@bitplanet.net>2014-02-18 16:39:01 -0800
commitb223a721478504bc67625606e1efbe1718fe3325 (patch)
tree3a45429f49fe2a4303f5cca44b85eb2ac12cb50e /protocol
parenta0d8a309317d1bebf1e2c1cee4b08af226871009 (diff)
xdg-shell: Rename focused_set / focused_unset to activated / deactivated
To try and make the distinction between this event and keyboard focus.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/xdg-shell.xml25
1 files changed, 16 insertions, 9 deletions
diff --git a/protocol/xdg-shell.xml b/protocol/xdg-shell.xml
index 3fb4b0c4..4a1d08ab 100644
--- a/protocol/xdg-shell.xml
+++ b/protocol/xdg-shell.xml
@@ -385,18 +385,25 @@
</description>
</request>
- <event name="focused_set">
- <description summary="surface was focused">
- The focused_set event is sent when this surface has been
- activated. Window decorations should be updated accordingly.
+ <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="focused_unset">
- <description summary="surface was unfocused">
- The focused_unset event is sent when this surface has been
- deactivated, because another surface has been activated. Window
- decorations should be updated accordingly.
+ <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>