Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
32125fe6
Commit
32125fe6
authored
Oct 04, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't send SC_RESTORE when a maximized window switches to fullscreen.
parent
adddf10c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
event.c
dlls/winex11.drv/event.c
+10
-10
No files found.
dlls/winex11.drv/event.c
View file @
32125fe6
...
...
@@ -1065,19 +1065,19 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev )
data
->
window_rect
.
bottom
-
data
->
window_rect
.
top
,
cx
,
cy
);
style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_STYLE
);
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
&&
is_net_wm_state_maximized
(
event
->
display
,
data
)
)
if
((
style
&
WS_CAPTION
)
==
WS_CAPTION
)
{
if
(
!
(
style
&
WS_MAXIMIZE
))
if
(
is_net_wm_state_maximized
(
event
->
display
,
data
))
{
TRACE
(
"win %p/%lx is maximized
\n
"
,
data
->
hwnd
,
data
->
whole_window
);
release_win_data
(
data
);
SendMessageW
(
data
->
hwnd
,
WM_SYSCOMMAND
,
SC_MAXIMIZE
,
0
);
return
;
if
(
!
(
style
&
WS_MAXIMIZE
))
{
TRACE
(
"win %p/%lx is maximized
\n
"
,
data
->
hwnd
,
data
->
whole_window
);
release_win_data
(
data
);
SendMessageW
(
data
->
hwnd
,
WM_SYSCOMMAND
,
SC_MAXIMIZE
,
0
);
return
;
}
}
}
else
{
if
(
style
&
WS_MAXIMIZE
)
else
if
(
style
&
WS_MAXIMIZE
)
{
TRACE
(
"window %p/%lx is no longer maximized
\n
"
,
data
->
hwnd
,
data
->
whole_window
);
release_win_data
(
data
);
...
...
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