• Ernestas Kulik's avatar
    window: Check if a tab was hit on right click · 873156cf
    Ernestas Kulik authored
    Since we have to handle the event in reverse order (because GtkTreeView
    claims the event sequence in the capture phase, meaning that the events
    won’t bubble up), the context menu for notebook tabs will open
    everywhere, because the event handler is not stopped by those lower in
    the hierarchy. A simple check if the cursor is on a tab will prevent