Sweden-Number/dlls/winemac.drv
Ken Thomases 792b47ad3b winemac: Restore a maximized window if a user tries to move it by dragging its title bar.
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.
2015-03-24 13:55:34 +09:00
..
.gitattributes
Makefile.in
clipboard.c
cocoa_app.h winemac: Restore a maximized window if a user tries to move it by dragging its title bar. 2015-03-24 13:55:34 +09:00
cocoa_app.m winemac: Restore a maximized window if a user tries to move it by dragging its title bar. 2015-03-24 13:55:34 +09:00
cocoa_clipboard.m
cocoa_display.m
cocoa_event.h
cocoa_event.m winemac.drv: Always initialize a closure-captured object pointer. 2015-02-02 22:27:42 +09:00
cocoa_main.m
cocoa_opengl.h
cocoa_opengl.m winemac: Make the implementation of clearToBlackIfNeeded compatible with core contexts. 2015-01-08 17:29:04 +01:00
cocoa_status_item.m winemac: When removing the status item for a systray icon, discard any associated events in the queue. 2014-08-06 14:27:29 +02:00
cocoa_window.h winemac: Restore a maximized window if a user tries to move it by dragging its title bar. 2015-03-24 13:55:34 +09:00
cocoa_window.m winemac: Restore a maximized window if a user tries to move it by dragging its title bar. 2015-03-24 13:55:34 +09:00
display.c winemac: Use new API when available to list all display modes available on Retina Macs. 2014-07-30 11:33:00 -05:00
dragdrop.c winemac: Fix a memory leak if posting WM_DROPFILES fails. 2014-05-15 11:28:36 +02:00
event.c winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do. 2015-03-24 13:55:18 +09:00
gdi.c
image.c
ime.c winemac: Don't query the position of the one-past-the-end character with IMR_QUERYCHARPOSITION. 2014-07-16 20:46:32 +02:00
keyboard.c winemac: For GetKeyNameText(), use the hard-coded table in preference to the Mac keyboard layout. 2014-04-24 11:37:28 +02:00
macdrv.h winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do. 2015-03-24 13:55:18 +09:00
macdrv_cocoa.h winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do. 2015-03-24 13:55:18 +09:00
macdrv_main.c winemac: Add the ability to disable high-resolution scrolling. 2014-05-15 11:28:52 +02:00
mouse.c
opengl.c winemac: Implement wglCreateContextAttribsARB. 2015-01-08 17:29:11 +01:00
surface.c
systray.c
window.c winemac: Allow the user to attempt to resize a maximized window and try to restore it if they do. 2015-03-24 13:55:18 +09:00
winemac.drv.spec