diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-20 19:37:27 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-21 10:28:07 +1000 |
commit | c2ed3d8bd6e2ec12f2ce70d7e106c09a7078e91f (patch) | |
tree | a1b879569d663c4b95c49985a877b87628dfb10f /include/sway/config.h | |
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 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 6f6710e9..87768399 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -324,6 +324,7 @@ struct sway_config { char *font; size_t font_height; bool pango_markup; + size_t urgent_timeout; // Flags bool focus_follows_mouse; |