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
ee45bf9e
Commit
ee45bf9e
authored
Mar 05, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't set the fullscreen hint on maximized windows.
parent
d0e14bf7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
winpos.c
dlls/winex11.drv/winpos.c
+5
-4
No files found.
dlls/winex11.drv/winpos.c
View file @
ee45bf9e
...
...
@@ -197,13 +197,14 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
if
(
!
data
->
managed
)
return
;
if
(
!
data
->
mapped
)
return
;
if
(
data
->
whole_rect
.
left
<=
0
&&
data
->
whole_rect
.
right
>=
screen_width
&&
data
->
whole_rect
.
top
<=
0
&&
data
->
whole_rect
.
bottom
>=
screen_height
)
new_state
|=
(
1
<<
NET_WM_STATE_FULLSCREEN
);
style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_STYLE
);
if
(
style
&
WS_MAXIMIZE
)
new_state
|=
(
1
<<
NET_WM_STATE_MAXIMIZED
);
if
(
!
(
style
&
WS_MAXIMIZE
)
&&
data
->
whole_rect
.
left
<=
0
&&
data
->
whole_rect
.
right
>=
screen_width
&&
data
->
whole_rect
.
top
<=
0
&&
data
->
whole_rect
.
bottom
>=
screen_height
)
new_state
|=
(
1
<<
NET_WM_STATE_FULLSCREEN
);
ex_style
=
GetWindowLongW
(
data
->
hwnd
,
GWL_EXSTYLE
);
if
(
ex_style
&
WS_EX_TOPMOST
)
new_state
|=
(
1
<<
NET_WM_STATE_ABOVE
);
...
...
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