From 5884e665a4e769fd7709468ba4c77e12a6a1444d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 9 Jul 2020 18:55:04 +0200 Subject: [PATCH] bar/wayland: set-cursor: don't skip out if "old" xcursor is same as "new" We might be setting on a different seat than before. --- bar/wayland.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bar/wayland.c b/bar/wayland.c index 7c02fe1..2d2fb97 100644 --- a/bar/wayland.c +++ b/bar/wayland.c @@ -184,9 +184,6 @@ set_cursor(struct bar *_bar, const char *_cursor) struct private *bar = _bar->private; struct wayland_backend *backend = bar->backend.data; - if (backend->xcursor == _cursor && _cursor != NULL) - return; - const char *cursor = _cursor != NULL ? _cursor : backend->xcursor; if (cursor == NULL) return;