mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 08:15:37 +00:00
Move the cursor into the lower right corner on SL
This commit is contained in:
parent
81ad1a18fa
commit
2cd32bf25a
@ -8,6 +8,7 @@
|
|||||||
#include <QNetworkProxyFactory>
|
#include <QNetworkProxyFactory>
|
||||||
#include <QPalette>
|
#include <QPalette>
|
||||||
#include <QFont>
|
#include <QFont>
|
||||||
|
#include <QCursor>
|
||||||
|
|
||||||
// Don't let SDL hook our main function, since Qt is already
|
// Don't let SDL hook our main function, since Qt is already
|
||||||
// doing the same thing. This needs to be before any headers
|
// doing the same thing. This needs to be before any headers
|
||||||
@ -363,6 +364,10 @@ int main(int argc, char *argv[])
|
|||||||
QFont fon("NotoSans");
|
QFont fon("NotoSans");
|
||||||
app.setFont(fon);
|
app.setFont(fon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Move the mouse to the bottom right so it's invisible when using
|
||||||
|
// gamepad-only navigation.
|
||||||
|
QCursor().setPos(0xFFFF, 0xFFFF);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
app.setWindowIcon(QIcon(":/res/moonlight.svg"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user