• Adel Gadllah's avatar
    Don't unmaximize to nearly maximized size · c39998ef
    Adel Gadllah authored
    Basically we don't really want to create windows that are almost maximized in
    size but not actually maximized. This creates work for the user and makes it
    very difficult to use and resize manually.
    
    So set the newly unmaximized window size to the previously used size or 80% of the
    size of the current workarea (attempting to retain natural aspect ratio if
    possible), whichever is smaller.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=671677
    c39998ef
window.c 332 KB