From 807f3b1381e8aa84cebfca568c2cccc1bc72ae83 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Fri, 26 Aug 2022 13:49:39 -0400 Subject: [PATCH] view: Do not call ssd_set_active() for inactive views Partially fixes #494. --- src/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index a8c63b0e..489c5c4d 100644 --- a/src/view.c +++ b/src/view.c @@ -98,7 +98,7 @@ view_get_edge_snap_box(struct view *view, struct output *output, void view_set_activated(struct view *view, bool activated) { - if (view->ssd.enabled) { + if (activated && view->ssd.enabled) { ssd_set_active(view); } if (view->impl->set_activated) {