Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,604
    • Issues 1,604
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 219
    • Merge requests 219
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Repository
Switch branch/tag
  • gtk
  • gdk
  • gdkdnd.h
Find file BlameHistoryPermalink
  • Carlos Garnacho's avatar
    gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel · aad3135e
    Carlos Garnacho authored Feb 15, 2016
    We should conform to a minimal set of reasons for the gtk side to emit
    a better GtkDragResult than GTK_DRAG_RESULT_ERROR. This fixes the notebook
    tab DnD feature, where we rely on GTK_DRAG_RESULT_NO_TARGET.
    
    In the wayland side, unfortunately we can't honor either NO_TARGET nor
    USER_CANCELLED, we don't know of the latter, so we could return false
    positives on the former.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761954
    aad3135e