diff options
author | Ryan Dwyer <[email protected]> | 2018-07-20 19:37:27 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-07-21 10:28:07 +1000 |
commit | c2ed3d8bd6e2ec12f2ce70d7e106c09a7078e91f (patch) | |
tree | a1b879569d663c4b95c49985a877b87628dfb10f /sway/commands.c | |
parent | a2b2146f7fb8d5e868880daff9484145a68ab4a3 (diff) |
Implement force_display_urgency_hint
The directive sets the timeout before an urgent view becomes normal
again after switching to it from another workspace.
Also:
* When an xwayland surface removes the urgent hint while the timer is
active, we now ignore the request. This happens as soon as the view
receives focus, so it was effectively making the timer pointless.
* The timeout is now only applied when switching to it from another
workspace.
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index 73c968ea..f1f03574 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -108,6 +108,7 @@ static struct cmd_handler handlers[] = { { "focus_wrapping", cmd_focus_wrapping }, { "font", cmd_font }, { "for_window", cmd_for_window }, + { "force_display_urgency_hint", cmd_force_display_urgency_hint }, { "force_focus_wrapping", cmd_force_focus_wrapping }, { "fullscreen", cmd_fullscreen }, { "gaps", cmd_gaps }, |