Skip to content
  • LRN's avatar
    GDK W32: Change WM_SYSMENU style switch logic · 3326fba5
    LRN authored
    Instead of checking for window state and giving it extra styles that
    fit, just give it all styles that it is missing. It turned out that
    otherwise it is impossible to, for example, restore a maximized window
    via sysmenu. Also, be more flexible towards GDK/WM window state mismatches
    and consider the window minimized/maximized if *either* GDK or WM thinks so.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=776485
    3326fba5