tablet: do not lock focus when dnd-ing (#11390)
This commit is contained in:
parent
00da4450db
commit
69c3ab1a49
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "../../managers/PointerManager.hpp"
|
||||
#include "../../managers/SeatManager.hpp"
|
||||
#include "../../protocols/PointerConstraints.hpp"
|
||||
#include "../../protocols/core/DataDevice.hpp"
|
||||
|
||||
static void unfocusTool(SP<CTabletTool> tool) {
|
||||
if (!tool->getSurface())
|
||||
|
|
@ -136,7 +137,7 @@ void CInputManager::onTabletAxis(CTablet::SAxisEvent e) {
|
|||
}
|
||||
|
||||
m_lastInputTouch = false;
|
||||
if (!PTOOL->m_isDown)
|
||||
if (!PTOOL->m_isDown || PROTO::data->dndActive())
|
||||
simulateMouseMovement();
|
||||
refocusTablet(PTAB, PTOOL, true);
|
||||
m_lastCursorMovement.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue