Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
e1b6dc57
Commit
e1b6dc57
authored
Feb 05, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Don't move off-screen windows to a random position.
parent
5915954e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
window.c
dlls/winemac.drv/window.c
+5
-2
No files found.
dlls/winemac.drv/window.c
View file @
e1b6dc57
...
...
@@ -1398,7 +1398,11 @@ void macdrv_window_frame_changed(HWND hwnd, CGRect frame)
if
(
!
hwnd
)
return
;
if
(
!
(
data
=
get_win_data
(
hwnd
)))
return
;
if
(
!
data
->
on_screen
)
goto
done
;
if
(
!
data
->
on_screen
)
{
release_win_data
(
data
);
return
;
}
/* Get geometry */
...
...
@@ -1427,7 +1431,6 @@ void macdrv_window_frame_changed(HWND hwnd, CGRect frame)
TRACE
(
"%p resizing from (%dx%d) to (%dx%d)
\n
"
,
hwnd
,
data
->
window_rect
.
right
-
data
->
window_rect
.
left
,
data
->
window_rect
.
bottom
-
data
->
window_rect
.
top
,
width
,
height
);
done:
release_win_data
(
data
);
if
(
!
(
flags
&
SWP_NOSIZE
)
||
!
(
flags
&
SWP_NOMOVE
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment