fix: hide cursor only main window is focused Change-Id: Ia614c6b68f0b6b9ad46d07622d6ab3c78bb047f6
Sian Cao
6 years ago
1 changed file(s) with
4 addition(s)
and
2 deletion(s)
.
Raw diff
Collapse all
Expand all
+4
-2
src/common/mainwindow.cpp
less
more
2154
2154
return;
2155
2155
2156
2156
if (isFullScreen()) {
2157
qApp->setOverrideCursor(Qt::BlankCursor);
2158
}
2157
if (qApp->focusWindow() == this->windowHandle())
2158
qApp->setOverrideCursor(Qt::BlankCursor);
2159
}
2160
2159
2161
_titlebar->hide();
2160
2162
_toolbox->hide();
2161
2163
} else {