summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorJan Arne Petersen <jpetersen@openismus.com>2012-09-24 14:51:14 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-09-25 11:24:49 -0400
commit680275fbf1ab5fd71ee342be448128bb371b65d8 (patch)
treef76982bddbf88bd7a9a75afe767e46ef19ccddb4 /protocol
parent64988feb1355630a3ef6f15acb7d640067331c7e (diff)
text: Rename de/activate to enter/leave
Also add a surface argument to the enter event.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/text.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/protocol/text.xml b/protocol/text.xml
index 857fd831..5bf1b234 100644
--- a/protocol/text.xml
+++ b/protocol/text.xml
@@ -127,14 +127,15 @@
<event name="selection_replacement"/>
<event name="direction"/>
<event name="locale"/>
- <event name="activated">
- <description summary="activated event">
+ <event name="enter">
+ <description summary="enter event">
Notify the model when it is activated. Typically in response to an
activate request.
</description>
+ <arg name="surface" type="object" interface="wl_surface"/>
</event>
- <event name="deactivated">
- <description summary="deactivated event">
+ <event name="leave">
+ <description summary="leave event">
Notify the model when it is deactivated. Either in response to a
deactivate request or when the assigned surface lost focus or was
destroyed.