@@ -118,6 +118,7 @@ impl RiverLayerShellSeatV1 {
118118 /// Since when the focus_exclusive message is available.
119119 pub const MSG__FOCUS_EXCLUSIVE__SINCE : u32 = 1 ;
120120
121+ /// layer shell surface has exclusive focus
121122 ///
122123 /// A layer shell surface will be given exclusive keyboard focus at the end
123124 /// of the manage sequence in which this event is sent. The window manager
@@ -164,6 +165,7 @@ impl RiverLayerShellSeatV1 {
164165 Ok ( ( ) )
165166 }
166167
168+ /// layer shell surface has exclusive focus
167169 ///
168170 /// A layer shell surface will be given exclusive keyboard focus at the end
169171 /// of the manage sequence in which this event is sent. The window manager
@@ -189,6 +191,7 @@ impl RiverLayerShellSeatV1 {
189191 /// Since when the focus_non_exclusive message is available.
190192 pub const MSG__FOCUS_NON_EXCLUSIVE__SINCE : u32 = 1 ;
191193
194+ /// layer shell surface wants non-exclusive focus
192195 ///
193196 /// A layer shell surface will be given non-exclusive keyboard focus at the
194197 /// end of the manage sequence in which this event is sent. The window
@@ -200,6 +203,10 @@ impl RiverLayerShellSeatV1 {
200203 /// focus during the same manage sequence in which this event is sent, the
201204 /// layer surface will not be focused.
202205 ///
206+ /// If the layer surface with non-exclusive focus is closed or the window
207+ /// manager chooses to move focus away from the layer surface, a focus_none
208+ /// event will be sent in the next manage sequence.
209+ ///
203210 /// This event will be followed by a manage_start event after all other new
204211 /// state has been sent by the server.
205212 #[ inline]
@@ -237,6 +244,7 @@ impl RiverLayerShellSeatV1 {
237244 Ok ( ( ) )
238245 }
239246
247+ /// layer shell surface wants non-exclusive focus
240248 ///
241249 /// A layer shell surface will be given non-exclusive keyboard focus at the
242250 /// end of the manage sequence in which this event is sent. The window
@@ -248,6 +256,10 @@ impl RiverLayerShellSeatV1 {
248256 /// focus during the same manage sequence in which this event is sent, the
249257 /// layer surface will not be focused.
250258 ///
259+ /// If the layer surface with non-exclusive focus is closed or the window
260+ /// manager chooses to move focus away from the layer surface, a focus_none
261+ /// event will be sent in the next manage sequence.
262+ ///
251263 /// This event will be followed by a manage_start event after all other new
252264 /// state has been sent by the server.
253265 #[ inline]
@@ -264,6 +276,7 @@ impl RiverLayerShellSeatV1 {
264276 /// Since when the focus_none message is available.
265277 pub const MSG__FOCUS_NONE__SINCE : u32 = 1 ;
266278
279+ /// no layer shell surface has focus
267280 ///
268281 /// No layer shell surface will have keyboard focus at the end of the manage
269282 /// sequence in which this event is sent. The window manager may want to
@@ -306,6 +319,7 @@ impl RiverLayerShellSeatV1 {
306319 Ok ( ( ) )
307320 }
308321
322+ /// no layer shell surface has focus
309323 ///
310324 /// No layer shell surface will have keyboard focus at the end of the manage
311325 /// sequence in which this event is sent. The window manager may want to
@@ -357,6 +371,7 @@ pub trait RiverLayerShellSeatV1Handler: Any {
357371 }
358372 }
359373
374+ /// layer shell surface has exclusive focus
360375 ///
361376 /// A layer shell surface will be given exclusive keyboard focus at the end
362377 /// of the manage sequence in which this event is sent. The window manager
@@ -383,6 +398,7 @@ pub trait RiverLayerShellSeatV1Handler: Any {
383398 }
384399 }
385400
401+ /// layer shell surface wants non-exclusive focus
386402 ///
387403 /// A layer shell surface will be given non-exclusive keyboard focus at the
388404 /// end of the manage sequence in which this event is sent. The window
@@ -394,6 +410,10 @@ pub trait RiverLayerShellSeatV1Handler: Any {
394410 /// focus during the same manage sequence in which this event is sent, the
395411 /// layer surface will not be focused.
396412 ///
413+ /// If the layer surface with non-exclusive focus is closed or the window
414+ /// manager chooses to move focus away from the layer surface, a focus_none
415+ /// event will be sent in the next manage sequence.
416+ ///
397417 /// This event will be followed by a manage_start event after all other new
398418 /// state has been sent by the server.
399419 #[ inline]
@@ -411,6 +431,7 @@ pub trait RiverLayerShellSeatV1Handler: Any {
411431 }
412432 }
413433
434+ /// no layer shell surface has focus
414435 ///
415436 /// No layer shell surface will have keyboard focus at the end of the manage
416437 /// sequence in which this event is sent. The window manager may want to
0 commit comments