hacked isLockedToScreen so that mouse move back from windows client to mac server after dropping a file
This commit is contained in:
parent
4e09b06cb0
commit
f6ecf9322c
|
@ -371,16 +371,17 @@ bool
|
||||||
CScreen::isLockedToScreen() const
|
CScreen::isLockedToScreen() const
|
||||||
{
|
{
|
||||||
// check for pressed mouse buttons
|
// check for pressed mouse buttons
|
||||||
UInt32 buttonID = 0;
|
// HACK: commented out as it breaks new drag drop feature
|
||||||
if (m_screen->isAnyMouseButtonDown(buttonID)) {
|
// UInt32 buttonID = 0;
|
||||||
LOG((CLOG_DEBUG "locked by mouse buttonID: %d", buttonID));
|
// if (m_screen->isAnyMouseButtonDown(buttonID)) {
|
||||||
if (buttonID == kButtonLeft) {
|
// LOG((CLOG_DEBUG "locked by mouse buttonID: %d", buttonID));
|
||||||
// TODO: fake esc key down and up
|
// if (buttonID == kButtonLeft) {
|
||||||
//m_screen->fakeMouseButton(buttonID, false);
|
// // TODO: fake esc key down and up
|
||||||
}
|
// //m_screen->fakeMouseButton(buttonID, false);
|
||||||
|
// }
|
||||||
return (buttonID == kButtonLeft) ? false : true;
|
//
|
||||||
}
|
// return (buttonID == kButtonLeft) ? false : true;
|
||||||
|
// }
|
||||||
|
|
||||||
// not locked
|
// not locked
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue