• Mario Sanchez Prada's avatar
    application: Complete startup notification sequence for remote invocations · c17c18e4
    Mario Sanchez Prada authored
    When a remote instance of a GTK application implementing the Startup
    Notification protocol gets spawned it will pass the startup sequence
    ID as "platform data" to the main instance. Thus, we need to make sure
    that the startup sequence gets completed in that case, since the remote
    instance won't do it by itself, since it won't map any top level window.
    
    Checking for this "platform data" in the implementation of the after_emit()
    virtual method in the primary instance should be a good place to do so, since
    the existence of such data proves that a remote instance has been spawned.
    
    #1084
    c17c18e4
gtkapplication.c 55.8 KB