Skip to content
  • Benjamin Otte's avatar
    dnd: Add GdkDrop base class for GdkDragContext · f247d268
    Benjamin Otte authored
    The ultimate goal of this patch series is to split GdkDragContext into
    GdkDrop + GdkDrag classes for the destination and source side of a dnd
    operation.
    
    The refactoring is meant to work something like this:
    1. Introduce GdkDrop as a base class
    2. Make all drop related code (like GdkEvent) use GdkDrop instead of
       GdkDragContext. Move/duplicate APIs to allow that.
    3. Port all drop contexts in the backends from GdkDragContext to GdkDrop
    4. Delete all APIs in GdkDragContext that aren't needed anymore.
    5. Make GdkDragContext no longer a GdkDrop subclass
    6. Rename GdkDragContext to GdkDrag
    f247d268