feat: no longer lock the full screen button when automatic full screen mode is enabled
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -106,8 +106,6 @@ class InputManager(QObject):
|
|||||||
@Slot(bool)
|
@Slot(bool)
|
||||||
def handle_fullscreen_slot(self, enable: bool) -> None:
|
def handle_fullscreen_slot(self, enable: bool) -> None:
|
||||||
try:
|
try:
|
||||||
if read_fullscreen_config():
|
|
||||||
return
|
|
||||||
window = self._parent
|
window = self._parent
|
||||||
if not isinstance(window, QWidget):
|
if not isinstance(window, QWidget):
|
||||||
return
|
return
|
||||||
@ -757,8 +755,6 @@ class InputManager(QObject):
|
|||||||
|
|
||||||
# Toggle fullscreen with F11
|
# Toggle fullscreen with F11
|
||||||
if key == Qt.Key.Key_F11:
|
if key == Qt.Key.Key_F11:
|
||||||
if read_fullscreen_config():
|
|
||||||
return True
|
|
||||||
self.toggle_fullscreen.emit(not self._is_fullscreen)
|
self.toggle_fullscreen.emit(not self._is_fullscreen)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user