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.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user