We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf57eba commit 09e1066Copy full SHA for 09e1066
src/main.cpp
@@ -56,7 +56,6 @@ void disableScreensaver() {
56
void disableScreensaver() {
57
if (auto *x11Application =
58
qGuiApp->nativeInterface<QNativeInterface::QX11Application>()) {
59
- Display *display = x11Application->display();
60
xcb_connection_t *connection = x11Application->connection();
61
xcb_dpms_set_timeouts(connection, 0, 0, 0);
62
xcb_screensaver_suspend(connection, XCB_SCREENSAVER_SUSPEND);
0 commit comments