• Shawn Rutledge's avatar
    Handle gracefully the removal and re-attachment of all QScreens · f4b8697c
    Shawn Rutledge authored
    
    Don't crash; restore windows when all screens are removed and re-added.
    xcb: on configure notify, check for screen change: it may be that a
    window belonging to a screen which was removed has now gotten mapped
    to the new screen.  On screen change, send a synthetic expose event,
    because the real expose events already happened.
    
    Task-number: QTBUG-38326
    Task-number: QTBUG-32973
    Task-number: QTBUG-42985
    Change-Id: If334f55c248468ad3c95e7066bb14eca377d2050
    Reviewed-by: default avatarJørgen Lind <jorgen.lind@theqtcompany.com>
    f4b8697c