aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-07-16 22:12:29 -0400
committerGitHub <noreply@github.com>2018-07-16 22:12:29 -0400
commit10fc7a5b494822a944bbada33b2cb25926447d76 (patch)
treefb23163603e5ac4221d6ee27ff91dffb19e3295f /sway/tree
parent75c699db62e63e2a3c2aa652c9ba9482a8f13ec3 (diff)
parentdb3a36373435a34b8d0a5fc4e90eacaa2b1dae6b (diff)
Merge branch 'master' into default-floating-border
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index d9938130..70ab9364 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -1086,6 +1086,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) {