Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
wine
wine-winehq
Commits
88a09dd3
Commit
88a09dd3
authored
Apr 17, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winemac: Set the Cocoa window contentMaxSize to the size limits from constrain_window_frame().
parent
51f9bb76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
window.c
dlls/winemac.drv/window.c
+2
-0
No files found.
dlls/winemac.drv/window.c
View file @
88a09dd3
...
...
@@ -641,6 +641,8 @@ static void sync_window_min_max_info(HWND hwnd)
max_size
=
CGSizeMake
(
max_rect
.
right
-
max_rect
.
left
,
max_rect
.
bottom
-
max_rect
.
top
);
}
constrain_window_frame
(
NULL
,
&
max_size
);
TRACE
(
"min_size (%g,%g) max_size (%g,%g)
\n
"
,
min_size
.
width
,
min_size
.
height
,
max_size
.
width
,
max_size
.
height
);
macdrv_set_window_min_max_sizes
(
data
->
cocoa_window
,
min_size
,
max_size
);
}
...
...
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