Skip to content
  • Matthias Clasen's avatar
    x11: Make selection handling work across screens · 55edc81c
    Matthias Clasen authored
    When dealing with selection events, we might see windows from
    other screens in the requestor field. The current x11 backend
    code fails to wrap these in a foreign GdkWindow, since we
    don't have the corresponding GdkScreen anymore. Work around
    this by creating such 'foreign screens' on demand. We still
    maintain the 1:1 relation between the display and the screen
    returned by gdk_display_get_default_screen().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721398
    55edc81c