Skip to content
  • Jasper St. Pierre's avatar
    wayland: Add some dumb support for the TARGETS selection · f4b212ab
    Jasper St. Pierre authored
    The way that GtkTextView et al pop up their context menu is to first
    query to see if the clipboard has some text, and if so, enable the Paste
    menu item. But since the Wayland backend hasn't had the greatest
    selection and clipboard code, the callback for the clipboard got dropped
    on the floor.
    
    Add some simple code to respond to the TARGETS selection.
    
    This makes right-clicking on a GtkTextView work fine.
    f4b212ab