• Ken Thomases's avatar
    winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do. · 8d581d0e
    Ken Thomases authored
    OS X doesn't have the same concept of maximized windows as Windows does.
    There's no mode that prevents a normally-resizable window from being resized.
    If a window is "zoomed", it mostly fills the screen but the user can still
    move or resize it, at which point it ceases to be in the zoomed state.  So,
    users are confused and frustrated when they can't resize a window that's
    maximized.
    
    To get similar behavior while still respecting Win32 semantics, we now let the
    user try to resize maximized windows.  (The resize cursors are shown at the
    edges of the window frame.)  When they start, a request is submitted to the app
    to restore the window.  Unless and until the window is restored, we don't
    actually allow the window to change its size.
    
    The user expects to resize the window from its current (maximized) position.
    It should not jump to its normal position upon being restored.  So, we set the
    window's normal position to its current position before restoring it.
    8d581d0e
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.vars.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...