• Alexander Larsson's avatar
    GdkWindow -> GdkSurface initial type rename · 391727bd
    Alexander Larsson authored
    This renames the GdkWindow class and related classes (impl, backend
    subclasses) to surface. Additionally it renames related types:
    GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType,
    GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge
    
    This is an automatic conversion using the below commands:
    
    git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass
    
    git sed -f g GdkWindow GdkSurface
    git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing
    git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING
    git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2"
    git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE
    git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo
    
    git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE"
    git sed -f g "broadway_window" "broadway_surface"
    git sed -f g "BroadwayWindow" "BroadwaySurface"
    git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE"
    git sed -f g "wayland_win...
    391727bd