summaryrefslogtreecommitdiff
path: root/src/apprt/gtk/class/window.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/apprt/gtk/class/window.zig')
-rw-r--r--src/apprt/gtk/class/window.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/apprt/gtk/class/window.zig b/src/apprt/gtk/class/window.zig
index 8efff8729..746bcd379 100644
--- a/src/apprt/gtk/class/window.zig
+++ b/src/apprt/gtk/class/window.zig
@@ -1585,6 +1585,9 @@ pub const Window = extern struct {
// Grab focus
surface.grabFocus();
+
+ // Bring the window to the front.
+ self.as(gtk.Window).present();
}
fn surfaceToggleFullscreen(