diff options
author | emersion <contact@emersion.fr> | 2018-03-31 00:13:26 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-31 00:24:38 -0400 |
commit | b237fa0b22d36e52fc0be7fe785e02ea1d2456f7 (patch) | |
tree | 122d850bff4e052b5f76238d5c8d38346a1291fc /sway/input/seat.c | |
parent | Use wlr_surface_point_accepts_input (diff) | |
download | sway-b237fa0b22d36e52fc0be7fe785e02ea1d2456f7.tar.gz sway-b237fa0b22d36e52fc0be7fe785e02ea1d2456f7.tar.zst sway-b237fa0b22d36e52fc0be7fe785e02ea1d2456f7.zip |
Set xwayland cursor
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 4 |
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, | |||
259 | 259 | ||
260 | void sway_seat_configure_xcursor(struct sway_seat *seat) { | 260 | void sway_seat_configure_xcursor(struct sway_seat *seat) { |
261 | // TODO configure theme and size | 261 | // TODO configure theme and size |
262 | const char *cursor_theme = "default"; | 262 | const char *cursor_theme = NULL; |
263 | 263 | ||
264 | if (!seat->cursor->xcursor_manager) { | 264 | if (!seat->cursor->xcursor_manager) { |
265 | seat->cursor->xcursor_manager = | 265 | seat->cursor->xcursor_manager = |
266 | wlr_xcursor_manager_create("default", 24); | 266 | wlr_xcursor_manager_create(cursor_theme, 24); |
267 | if (sway_assert(seat->cursor->xcursor_manager, | 267 | if (sway_assert(seat->cursor->xcursor_manager, |
268 | "Cannot create XCursor manager for theme %s", | 268 | "Cannot create XCursor manager for theme %s", |
269 | cursor_theme)) { | 269 | cursor_theme)) { |