feat: no longer lock the full screen button when automatic full screen mode is enabled
All checks were successful
Code and build check / Check code (push) Successful in 2m10s
Code and build check / Build with uv (push) Successful in 48s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-06-13 19:31:35 +05:00
parent f105af01ef
commit 2a46cf7a2f

View File

@ -106,8 +106,6 @@ class InputManager(QObject):
@Slot(bool)
def handle_fullscreen_slot(self, enable: bool) -> None:
try:
if read_fullscreen_config():
return
window = self._parent
if not isinstance(window, QWidget):
return
@ -757,8 +755,6 @@ class InputManager(QObject):
# Toggle fullscreen with F11
if key == Qt.Key.Key_F11:
if read_fullscreen_config():
return True
self.toggle_fullscreen.emit(not self._is_fullscreen)
return True