UI: Allow keyboard events on X11 fullscreen projector

X11BypassWindowManagerHint  Bypass the window
           manager completely. This results in a borderless window
           that is not managed at all (i.e., no keyboard input unless
you call QWidget::activateWindow() manually).

This allows the Esc key to close the projector on X11
This commit is contained in:
Shaolin 2017-11-06 01:17:17 -02:00
parent 0cbd9cc051
commit 6df56e09ce

View File

@ -81,6 +81,7 @@ void OBSProjector::Init(int monitor, bool window, QString title)
addAction(action);
connect(action, SIGNAL(triggered()), this,
SLOT(EscapeTriggered()));
activateWindow();
}
savedMonitor = monitor;