1
0
Fork 0

Spectre/Display/Display: implement grabCursor()

This commit is contained in:
Henrik Hautakoski 2020-11-04 16:34:53 +01:00
parent e64d9cdce0
commit 0a5681c871
2 changed files with 7 additions and 0 deletions

View file

@ -51,6 +51,8 @@ public :
void showCursor(bool value);
void grabCursor(bool value);
bool activate(bool value);
// Enable/Disable Vertical Sync.

View file

@ -134,6 +134,11 @@ void Display::showCursor(bool value)
m_impl->showCursor(value);
}
void Display::grabCursor(bool value)
{
m_impl->grabCursor(value);
}
bool Display::activate(bool value)
{
if (value) {