diff options
author | Mikko Levonmaa <mikko.levonmaa@lge.com> | 2015-09-23 14:42:58 +0300 |
---|---|---|
committer | Mikko Levonmaa <mikko.levonmaa@bitfactor.fi> | 2015-09-25 18:37:33 +0000 |
commit | 07c7898c8902b28988a66aa79cdd0cc141d35a34 (patch) | |
tree | 652fcda5274b8555a78082e5dd5d44118c527f57 /src/client/qwaylandcursor.cpp | |
parent | fe44ae70221af8e897fdef5a9fdb6dfef0fc87c7 (diff) |
Add QWayland::shm object to client
Allows more flexibility for the client to determine
additional shm formats supported by the compositor in
addition to the standard types. For example YUV formats.
Change-Id: Ib4a47c1d5bbeed9314d5ad5f5f8e1551c1dd71e4
Reviewed-by: Giulio Camuffo <giulio.camuffo@jollamobile.com>
Reviewed-by: Mikko Levonmaa <mikko.levonmaa@bitfactor.fi>
Diffstat (limited to 'src/client/qwaylandcursor.cpp')
-rw-r--r-- | src/client/qwaylandcursor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylandcursor.cpp b/src/client/qwaylandcursor.cpp index 8dfc95c36..a76e05a9a 100644 --- a/src/client/qwaylandcursor.cpp +++ b/src/client/qwaylandcursor.cpp @@ -59,7 +59,7 @@ QWaylandCursor::QWaylandCursor(QWaylandScreen *screen) int cursorSize = cursorSizeFromEnv.toInt(&hasCursorSize); if (!hasCursorSize || cursorSize <= 0) cursorSize = 32; - mCursorTheme = wl_cursor_theme_load(cursorTheme, cursorSize, mDisplay->shm()); + mCursorTheme = wl_cursor_theme_load(cursorTheme, cursorSize, mDisplay->shm()->object()); if (!mCursorTheme) qDebug() << "Could not load theme" << cursorTheme; initCursorMap(); |