[effects] Ensure the correct cursor shape is set for mouse interception
When starting mouse interception the window might already be created in which case the cursor wasn't defined. So let's always set it. REVIEW: 12232
This commit is contained in:
parent
ff700a8db5
commit
7b5cf8bcdc
1 changed files with 2 additions and 0 deletions
|
@ -690,6 +690,8 @@ void EffectsHandlerImpl::startMouseInterception(Effect *effect, Qt::CursorShape
|
|||
Cursor::x11Cursor(shape)
|
||||
};
|
||||
m_mouseInterceptionWindow.reset(Xcb::createInputWindow(geo, mask, values));
|
||||
} else {
|
||||
defineCursor(shape);
|
||||
}
|
||||
m_mouseInterceptionWindow.map();
|
||||
m_mouseInterceptionWindow.raise();
|
||||
|
|
Loading…
Reference in a new issue