Commit af9f6fca authored by LRN's avatar LRN

W32: Correctly set maximized window position

Use screen workarea to *also* set the position of a maximized window,
not just its size. Without this the window position defaults to 0:0
(the topleft corner), which is wrong when taskbar is position along the
top or left edge of the screen.
parent 371a3a78
......@@ -3085,6 +3085,8 @@ gdk_event_translate (MSG *msg,
mmi->ptMaxTrackSize.x = moninfo.rcWork.right - moninfo.rcWork.left;
mmi->ptMaxTrackSize.y = moninfo.rcWork.bottom -;
mmi->ptMaxPosition.x = moninfo.rcWork.left;
mmi->ptMaxPosition.y =;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment