]> Pileus Git - ~andy/gtk/commit
gdk: Make window moves a custom vfunc
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Jul 2010 18:37:33 +0000 (20:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 10 Aug 2010 19:02:28 +0000 (21:02 +0200)
commit65ac54bb23b351e5df786c1eadeac771d4bf23b6
tree539d1d1edde65c4101b3ab82f6015cb71a459c44
parenta5814019202c9ab66134a804866fdc21f80fa886
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.
gdk/gdkoffscreenwindow.c
gdk/gdkwindow.c
gdk/gdkwindowimpl.h
gdk/quartz/gdkgeometry-quartz.c
gdk/quartz/gdkwindow-quartz.c
gdk/win32/gdkwindow-win32.c
gdk/x11/gdkgeometry-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdkwindow-x11.c