Skip to content
  • LRN's avatar
    GDK W32: Adapt to event filter removal · ef01e6ee
    LRN authored
    Add a new W32 backend-specific message filtering mechanism.
    Works roughly the same way old event filtering did, but without
    events (events are GDK/X11 concept that never really made sense
    on W32), so there's no functionality for 'altering' events being
    emitted. If an event needs to be emitted in response to a message
    do it yourself.
    
    Implemented like this, it should give better performance than
    if we were to use GLib signals for this, since W32 sends a LOT
    of messages (unlike X11, which doesn't send events as often)
    all the time, and invoking the signal machinery on *each* message
    would probably be bad.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=773299
    ef01e6ee