Matthias Clasen
4aabc45685
Drop gdkintl.h
...
This header was merely including gi18n-lib.h.
Just do that directly.
2022-09-23 23:33:42 -04:00
Carlos Garnacho
4b41d4f78c
gdk/wayland: Check the GdkSurface wl_surface before using it for activation
...
Double check the GdkSurface has a wl_surface before using it as the activation
token source, since we cannot use NULL surfaces here.
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1862
2022-06-02 23:08:40 +02:00
Carlos Garnacho
fb68600d88
gdk/wayland: Dispatch GdkAppLaunchContext activation token in its own queue
...
Use a separate queue to dispatch the token object exclusively, just like we
do on the GdkSurface activation paths.
2022-06-02 23:08:40 +02:00
Guido Günther
4d741bac98
wayland: xdg-activation: Don't assume there's a focus surface
...
Tools like gtk4-launch can't set surface on the activation token so
don't require it. If the compositor requires it we can't do anything
about it anyway. This avoids a critical:
(gtk4-launch:23497): Gdk-CRITICAL **: 17:07:24.704: gdk_wayland_surface_get_wl_surface: assertion 'GDK_IS_WAYLAND_SURFACE (surface)' failed
Fixes: be4216e051
("gdk/wayland: Support the xdg-activation wayland protocol")
Signed-off-by: Guido Günther <agx@sigxcpu.org>
2022-01-19 08:57:10 +01:00
Benjamin Otte
279f9aa6d3
wayland: Don't include gdkinternals.h
2021-09-24 22:50:29 +02:00
Carlos Garnacho
be4216e051
gdk/wayland: Support the xdg-activation wayland protocol
...
This protocol implements the IPC necessary to focus application
windows across launcher/launchee. Add support for it.
2021-05-03 17:20:50 +02:00
Carlos Garnacho
745cbc6c91
gdk/wayland: Update to gtk_shell1 version 3
...
Bring in line with gtk3, in terms of startup notification and
activation support.
2020-11-18 00:41:46 +01:00
Benjamin Otte
d375dce9f5
Replace "gchar" with "char"
2020-07-25 00:47:36 +02:00
Matthias Clasen
ba91af62ad
Drop gdk_app_launch_context_set_screen
...
This function is not necessary, since we already know the display.
2017-10-30 23:01:34 -04:00
Matthias Clasen
94c5d691df
wayland: Formatting fixes
2015-02-28 00:02:30 -05:00
Matthias Clasen
52578945bd
Wayland: Fix various compiler warnings
...
Mostly missing declarations, missing statics and unused functions.
2014-09-05 20:41:06 -04:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Kristian Høgsberg
590f3dfa1f
Add Wayland backend
2011-02-05 16:11:54 -05:00