projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d077f11
)
demo: Use gtk_window_present()
author
Guido Günther
<agx@sigxcpu.org>
Tue, 11 Jan 2022 19:27:25 +0000
(20:27 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Wed, 16 Mar 2022 18:50:21 +0000
(19:50 +0100)
This lets xdg-activation work as otherwise gdk_wayland_surface_focus is
never invoked.
demos/gtk-demo/main.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/main.c
b/demos/gtk-demo/main.c
index da6b5db73a4ad32e04508b8ac9f0fc0ed651e055..a31ce367906ee591f02e4bd4b12e9c8280c41321 100644
(file)
--- a/
demos/gtk-demo/main.c
+++ b/
demos/gtk-demo/main.c
@@
-1040,7
+1040,7
@@
out:
g_signal_connect_swapped (G_OBJECT (demo), "destroy", G_CALLBACK (g_application_quit), app);
}
else
- gtk_wi
dget_show (GTK_WIDGET
(window));
+ gtk_wi
ndow_present (GTK_WINDOW
(window));
if (autoquit)
g_timeout_add_seconds (1, auto_quit, app);