aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-31 00:13:26 -0400
committeremersion <contact@emersion.fr>2018-03-31 00:24:38 -0400
commitb237fa0b22d36e52fc0be7fe785e02ea1d2456f7 (patch)
tree122d850bff4e052b5f76238d5c8d38346a1291fc /sway/input
parent212b5039927842f22295c95f4e0a4f914b243194 (diff)
Set xwayland cursor
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/seat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c
index ae536264..f969636a 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -259,11 +259,11 @@ void sway_seat_remove_device(struct sway_seat *seat,
void sway_seat_configure_xcursor(struct sway_seat *seat) {
// TODO configure theme and size
- const char *cursor_theme = "default";
+ const char *cursor_theme = NULL;
if (!seat->cursor->xcursor_manager) {
seat->cursor->xcursor_manager =
- wlr_xcursor_manager_create("default", 24);
+ wlr_xcursor_manager_create(cursor_theme, 24);
if (sway_assert(seat->cursor->xcursor_manager,
"Cannot create XCursor manager for theme %s",
cursor_theme)) {