Skip to content
  • Carlos Garnacho's avatar
    window: Only claim a button=1 press sequence when dragging is about to happen · 3ef1b387
    Carlos Garnacho authored
    This way plain clicks can be handled in gtkmain through the usual delivery mechanism,
    and get possibly handled too by widgets holding a GTK+ grab. If window dragging is to
    be started, the sequence will be claimed (and a grab will happen afterwards), notifying
    properly the grabbing widget that event delivery was interrupted.
    
    This makes it possible to dismiss popovers by clicking on window headerbars, while
    still making it possible to drag the window with the popover opened.
    3ef1b387