diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-07-16 17:59:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 17:59:30 -0700 |
commit | 9c8d73dad6d6a4c06d523d7eedd0031f5d384b5b (patch) | |
tree | b950c77893a8f77b64c3e59fa172591dc3f23af7 /sway/tree | |
parent | 7268d544c23305dbc0e787143f5b622cb2edbd12 (diff) | |
parent | 9cbff272cbb776defe8f45fd7d909be618c0ce22 (diff) |
Merge pull request #2287 from RyanDwyer/superfluous-urgent-events
Remove superfluous IPC urgent events
Diffstat (limited to 'sway/tree')
-rw-r--r-- | sway/tree/view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 76e0f42c..8d8d213a 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -1080,6 +1080,9 @@ bool view_is_visible(struct sway_view *view) { } void view_set_urgent(struct sway_view *view, bool enable) { + if (view_is_urgent(view) == enable) { + return; + } if (enable) { struct sway_seat *seat = input_manager_current_seat(input_manager); if (seat_get_focus(seat) == view->swayc) { |