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:
parent
0cbd9cc051
commit
6df56e09ce
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user