diff options
author | Benjamin Otte <otte@redhat.com> | 2010-07-21 20:37:33 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-10 21:02:28 +0200 |
commit | 65ac54bb23b351e5df786c1eadeac771d4bf23b6 (patch) | |
tree | 539d1d1edde65c4101b3ab82f6015cb71a459c44 /gdk/x11/gdkprivate-x11.h | |
parent | a5814019202c9ab66134a804866fdc21f80fa886 (diff) | |
download | gtk+-65ac54bb23b351e5df786c1eadeac771d4bf23b6.tar.gz |
gdk: Make window moves a custom vfunc
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
Diffstat (limited to 'gdk/x11/gdkprivate-x11.h')
-rw-r--r-- | gdk/x11/gdkprivate-x11.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h index e536f867d7..236164fc49 100644 --- a/gdk/x11/gdkprivate-x11.h +++ b/gdk/x11/gdkprivate-x11.h @@ -118,8 +118,7 @@ void _gdk_window_process_expose (GdkWindow *window, gboolean _gdk_x11_window_queue_antiexpose (GdkWindow *window, cairo_region_t *area); -void _gdk_x11_window_queue_translation (GdkWindow *window, - GdkGC *gc, +void _gdk_x11_window_translate (GdkWindow *window, cairo_region_t *area, gint dx, gint dy); |