summaryrefslogtreecommitdiff
path: root/gdk/gdkwindow.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
committerAlexander Larsson <alexl@redhat.com>2016-10-25 09:54:37 +0200
commit70935f09526ba9f1d0b2f6af10e18712df73eda9 (patch)
tree5faccfc562bcf8dee34ebbd6424d86f31af236c5 /gdk/gdkwindow.h
parent639898000e8e1f8bf1a72b778978a2c8e30c2d9b (diff)
downloadgtk+-70935f09526ba9f1d0b2f6af10e18712df73eda9.tar.gz
Drop support for offscreen GdkWindowswip/alexl/no-offscreen
These complicate a lot of GdkWindow internals to implement features that not a lot of apps use, and will be better achieved using gsk. So, we just drop it all.
Diffstat (limited to 'gdk/gdkwindow.h')
-rw-r--r--gdk/gdkwindow.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/gdk/gdkwindow.h b/gdk/gdkwindow.h
index a6bc688197..9a887b7d57 100644
--- a/gdk/gdkwindow.h
+++ b/gdk/gdkwindow.h
@@ -67,8 +67,6 @@ typedef enum
* @GDK_WINDOW_TEMP: override redirect temporary window (used to implement
* #GtkMenu)
* @GDK_WINDOW_FOREIGN: foreign window (see gdk_window_foreign_new())
- * @GDK_WINDOW_OFFSCREEN: offscreen window (see
- * [Offscreen Windows][OFFSCREEN-WINDOWS]). Since 2.18
* @GDK_WINDOW_SUBSURFACE: subsurface-based window; This window is visually
* tied to a toplevel, and is moved/stacked with it. Currently this window
* type is only implemented in Wayland. Since 3.14
@@ -82,7 +80,6 @@ typedef enum
GDK_WINDOW_CHILD,
GDK_WINDOW_TEMP,
GDK_WINDOW_FOREIGN,
- GDK_WINDOW_OFFSCREEN,
GDK_WINDOW_SUBSURFACE
} GdkWindowType;
@@ -460,25 +457,6 @@ struct _GdkWindowClass
{
GObjectClass parent_class;
- GdkWindow * (* pick_embedded_child) (GdkWindow *window,
- gdouble x,
- gdouble y);
-
- /* the following 3 signals will only be emitted by offscreen windows */
- void (* to_embedder) (GdkWindow *window,
- gdouble offscreen_x,
- gdouble offscreen_y,
- gdouble *embedder_x,
- gdouble *embedder_y);
- void (* from_embedder) (GdkWindow *window,
- gdouble embedder_x,
- gdouble embedder_y,
- gdouble *offscreen_x,
- gdouble *offscreen_y);
- cairo_surface_t * (* create_surface) (GdkWindow *window,
- gint width,
- gint height);
-
/* Padding for future expansion */
void (*_gdk_reserved1) (void);
void (*_gdk_reserved2) (void);
@@ -830,11 +808,6 @@ GDK_AVAILABLE_IN_ALL
GdkWindow * gdk_window_get_toplevel (GdkWindow *window);
GDK_AVAILABLE_IN_ALL
-GdkWindow * gdk_window_get_effective_parent (GdkWindow *window);
-GDK_AVAILABLE_IN_ALL
-GdkWindow * gdk_window_get_effective_toplevel (GdkWindow *window);
-
-GDK_AVAILABLE_IN_ALL
GList * gdk_window_get_children (GdkWindow *window);
GDK_AVAILABLE_IN_ALL
GList * gdk_window_peek_children (GdkWindow *window);
@@ -1025,18 +998,6 @@ void gdk_window_constrain_size (GdkGeometry *geometry,
GDK_AVAILABLE_IN_ALL
GdkWindow *gdk_get_default_root_window (void);
-/* Offscreen redirection */
-GDK_AVAILABLE_IN_ALL
-cairo_surface_t *
- gdk_offscreen_window_get_surface (GdkWindow *window);
-GDK_AVAILABLE_IN_ALL
-void gdk_offscreen_window_set_embedder (GdkWindow *window,
- GdkWindow *embedder);
-GDK_AVAILABLE_IN_ALL
-GdkWindow *gdk_offscreen_window_get_embedder (GdkWindow *window);
-GDK_AVAILABLE_IN_ALL
-void gdk_window_geometry_changed (GdkWindow *window);
-
/* Multidevice support */
GDK_AVAILABLE_IN_ALL
void gdk_window_set_support_multidevice (GdkWindow *window,