projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd9433b
)
wayland/launch-context: Use dispatch helper
author
Jonas Ådahl
<jadahl@gmail.com>
Sat, 11 Feb 2023 22:14:53 +0000
(23:14 +0100)
committer
Jonas Ådahl
<jadahl@gmail.com>
Sat, 11 Feb 2023 22:14:53 +0000
(23:14 +0100)
Otherwise we risk a busy loop if e.g. the pipe broke.
gdk/wayland/gdkapplaunchcontext-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkapplaunchcontext-wayland.c
b/gdk/wayland/gdkapplaunchcontext-wayland.c
index cc4914867abf20ff616a9cb04121440d1eb41bdf..a4dd4433889513bd82bf4b886e1be0ceab16fc6c 100644
(file)
--- a/
gdk/wayland/gdkapplaunchcontext-wayland.c
+++ b/
gdk/wayland/gdkapplaunchcontext-wayland.c
@@
-87,7
+87,7
@@
gdk_wayland_app_launch_context_get_startup_notify_id (GAppLaunchContext *context
xdg_activation_token_v1_commit (token);
while (app_launch_data.token == NULL)
-
wl_display_dispatch_queue (display->wl_display
, event_queue);
+
gdk_wayland_display_dispatch_queue (GDK_DISPLAY (display)
, event_queue);
xdg_activation_token_v1_destroy (token);
id = app_launch_data.token;