Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/standalone/x11_platform.cpp
Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | |||||
141 | void X11StandalonePlatform::createPlatformCursor(QObject *parent) | 141 | void X11StandalonePlatform::createPlatformCursor(QObject *parent) | ||
142 | { | 142 | { | ||
143 | auto c = new X11Cursor(parent, m_xinputIntegration != nullptr); | 143 | auto c = new X11Cursor(parent, m_xinputIntegration != nullptr); | ||
144 | #if HAVE_X11_XINPUT | 144 | #if HAVE_X11_XINPUT | ||
145 | if (m_xinputIntegration) { | 145 | if (m_xinputIntegration) { | ||
146 | m_xinputIntegration->setCursor(c); | 146 | m_xinputIntegration->setCursor(c); | ||
147 | // we know we have xkb already | 147 | // we know we have xkb already | ||
148 | auto xkb = input()->keyboard()->xkb(); | 148 | auto xkb = input()->keyboard()->xkb(); | ||
149 | xkb->setConfig(kwinApp()->kxkbConfig()); | ||||
149 | xkb->reconfigure(); | 150 | xkb->reconfigure(); | ||
150 | } | 151 | } | ||
151 | #endif | 152 | #endif | ||
152 | } | 153 | } | ||
153 | 154 | | |||
154 | bool X11StandalonePlatform::requiresCompositing() const | 155 | bool X11StandalonePlatform::requiresCompositing() const | ||
155 | { | 156 | { | ||
156 | return false; | 157 | return false; | ||
▲ Show 20 Lines • Show All 285 Lines • Show Last 20 Lines |