[wayland] Fix wayland cursor theme size
If our size is 0, we need to pass -1 to get the proper default size.
This commit is contained in:
parent
fafa22d0c6
commit
5b7b0f91c1
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void WaylandCursorTheme::loadTheme()
|
|||
destroyTheme();
|
||||
}
|
||||
m_theme = wl_cursor_theme_load(c->themeName().toUtf8().constData(),
|
||||
c->themeSize(), m_backend->shmPool()->shm());
|
||||
c->themeSize() ? c->themeSize() : -1, m_backend->shmPool()->shm());
|
||||
}
|
||||
|
||||
void WaylandCursorTheme::destroyTheme()
|
||||
|
|
Loading…
Reference in a new issue