mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
792b47ad3b
OS X doesn't have the same concept of maximized windows as Windows does. There's no mode that prevents a normally-movable window from being moved. 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 move a window that's maximized. To get similar behavior while still respecting Win32 semantics, we detect when the user tries to move a maximized window. 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 move. The user expects to move 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. |
||
---|---|---|
.. | ||
.gitattributes | ||
clipboard.c | ||
cocoa_app.h | ||
cocoa_app.m | ||
cocoa_clipboard.m | ||
cocoa_display.m | ||
cocoa_event.h | ||
cocoa_event.m | ||
cocoa_main.m | ||
cocoa_opengl.h | ||
cocoa_opengl.m | ||
cocoa_status_item.m | ||
cocoa_window.h | ||
cocoa_window.m | ||
display.c | ||
dragdrop.c | ||
event.c | ||
gdi.c | ||
image.c | ||
ime.c | ||
keyboard.c | ||
macdrv_cocoa.h | ||
macdrv_main.c | ||
macdrv.h | ||
Makefile.in | ||
mouse.c | ||
opengl.c | ||
surface.c | ||
systray.c | ||
window.c | ||
winemac.drv.spec |