Commit 0d23637e authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Ignore window dragging if window is disabled, maximized, minimized, or hidden.

parent a86cfc68
......@@ -2153,11 +2153,15 @@ void macdrv_window_restore_requested(HWND hwnd)
*/
void macdrv_window_drag_begin(HWND hwnd)
{
DWORD style = GetWindowLongW(hwnd, GWL_STYLE);
struct macdrv_win_data *data;
MSG msg;
TRACE("win %p\n", hwnd);
if (style & (WS_DISABLED | WS_MAXIMIZE | WS_MINIMIZE)) return;
if (!(style & WS_VISIBLE)) return;
if (!(data = get_win_data(hwnd))) return;
if (data->being_dragged) goto done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment