From b83bd2074ae393538a794d0097f282a9fa33842a Mon Sep 17 00:00:00 2001 From: under Date: Wed, 20 Mar 2024 13:29:18 -0700 Subject: [PATCH] Move windows into foreground when selected --- RetroWindowsGUI/DesktopWindow.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/RetroWindowsGUI/DesktopWindow.gd b/RetroWindowsGUI/DesktopWindow.gd index 549488f..5cf792f 100755 --- a/RetroWindowsGUI/DesktopWindow.gd +++ b/RetroWindowsGUI/DesktopWindow.gd @@ -12,6 +12,7 @@ func _input(event: InputEvent): if event.pressed: if get_global_rect().has_point(get_global_mouse_position()): desktop.current_window = self + get_parent().move_child(self, get_parent().get_child_count()) elif event is InputEventKey: if event.keycode == KEY_F11: if event.pressed: