GdkSurface: Rename lots of stuff from window->surface

Mostly these are internal things, but the major public change is
that event.window is now event.surface.
This commit is contained in:
Alexander Larsson
2018-03-20 15:14:10 +01:00
parent 9a7e721181
commit 3dce0dcca7
76 changed files with 4697 additions and 4697 deletions

View File

@@ -9,7 +9,7 @@ event_cb (GtkWidget *window,
GdkEvent *event)
{
if (gdk_event_get_event_type (event) == GDK_MOTION_NOTIFY &&
gdk_event_get_window (event) == gtk_widget_get_window (window))
gdk_event_get_surface (event) == gtk_widget_get_window (window))
{
gdouble x, y;
float processing_ms = gtk_adjustment_get_value (adjustment);