aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-31 00:35:50 -0400
committerGitHub <noreply@github.com>2018-03-31 00:35:50 -0400
commit6a1a94b87c7e3e3c7145087c23024f9039a8a08c (patch)
tree7df0cfeafe5a0559244b8981ecc1f7ec52a373fa /sway/input
parent18173fb5ade5af0d09a3e270701207f55bb5f97e (diff)
parentb237fa0b22d36e52fc0be7fe785e02ea1d2456f7 (diff)
downloadsway-6a1a94b87c7e3e3c7145087c23024f9039a8a08c.tar.xz
Merge pull request #1678 from emersion/xwayland-xcursor
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)) {