mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 20:25:39 +02:00
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.
This commit is contained in:
parent
13c2b8296d
commit
5884e665a4
1 changed files with 0 additions and 3 deletions
|
@ -184,9 +184,6 @@ set_cursor(struct bar *_bar, const char *_cursor)
|
||||||
struct private *bar = _bar->private;
|
struct private *bar = _bar->private;
|
||||||
struct wayland_backend *backend = bar->backend.data;
|
struct wayland_backend *backend = bar->backend.data;
|
||||||
|
|
||||||
if (backend->xcursor == _cursor && _cursor != NULL)
|
|
||||||
return;
|
|
||||||
|
|
||||||
const char *cursor = _cursor != NULL ? _cursor : backend->xcursor;
|
const char *cursor = _cursor != NULL ? _cursor : backend->xcursor;
|
||||||
if (cursor == NULL)
|
if (cursor == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue