Qt: Disable ESC to exit fullscreen if kb shortcuts are disabled
This commit is contained in:
@@ -258,7 +258,7 @@ void gs_frame::keyPressEvent(QKeyEvent *keyEvent)
|
|||||||
}
|
}
|
||||||
case Qt::Key_Escape:
|
case Qt::Key_Escape:
|
||||||
{
|
{
|
||||||
if (visibility() == FullScreen)
|
if (visibility() == FullScreen && !m_disable_kb_hotkeys)
|
||||||
{
|
{
|
||||||
toggle_fullscreen();
|
toggle_fullscreen();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user