From fed2db1493606342e0c80df6e959158f9d467523 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Apr 2019 01:13:41 +0000 Subject: window: Drop some x11-specific apis The skip-taskbar, skip-pager and urgency hints were only ever implemented for X11, and are not very useful with modern desktops. Relegate the functionality to x11 backend api, and drop the GtkWindow api. --- gdk/x11/gdkx11surface.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gdk/x11/gdkx11surface.h') diff --git a/gdk/x11/gdkx11surface.h b/gdk/x11/gdkx11surface.h index bb23dbee71..fcd6a8006d 100644 --- a/gdk/x11/gdkx11surface.h +++ b/gdk/x11/gdkx11surface.h @@ -105,6 +105,16 @@ GDK_AVAILABLE_IN_ALL GdkSurface *gdk_x11_surface_lookup_for_display (GdkDisplay *display, Window window); +GDK_AVAILABLE_IN_ALL +void gdk_x11_surface_set_skip_taskbar_hint (GdkSurface *surface, + gboolean skips_taskbar); +GDK_AVAILABLE_IN_ALL +void gdk_x11_surface_set_skip_pager_hint (GdkSurface *surface, + gboolean skips_pager); +GDK_AVAILABLE_IN_ALL +void gdk_x11_surface_set_urgency_hint (GdkSurface *surface, + gboolean urgent); + G_END_DECLS #endif /* __GDK_X11_SURFACE_H__ */ -- cgit v1.2.1