mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
add WindowUrgencyChanged ipc event
This commit is contained in:
committed by
Ivan Molodetskikh
parent
9d3d7cb0e9
commit
a8259b4cea
@@ -1129,6 +1129,8 @@ pub struct Window {
|
||||
///
|
||||
/// If the window isn't floating then it is in the tiling layout.
|
||||
pub is_floating: bool,
|
||||
/// Whether this window requests your attention.
|
||||
pub is_urgent: bool,
|
||||
}
|
||||
|
||||
/// Output configuration change result.
|
||||
@@ -1298,6 +1300,13 @@ pub enum Event {
|
||||
/// Id of the newly focused window, or `None` if no window is now focused.
|
||||
id: Option<u64>,
|
||||
},
|
||||
/// Window urgency changed.
|
||||
WindowUrgencyChanged {
|
||||
/// Id of the window.
|
||||
id: u64,
|
||||
/// The new urgency state of the window.
|
||||
urgent: bool,
|
||||
},
|
||||
/// The configured keyboard layouts have changed.
|
||||
KeyboardLayoutsChanged {
|
||||
/// The new keyboard layout configuration.
|
||||
|
||||
Reference in New Issue
Block a user