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
b79211ef
Commit
b79211ef
authored
Jan 04, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't delay mapping 0-sized layered windows.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=49575
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5f3bf30d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
window.c
dlls/winex11.drv/window.c
+2
-1
No files found.
dlls/winex11.drv/window.c
View file @
b79211ef
...
...
@@ -2485,7 +2485,8 @@ void CDECL X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flags
BOOL
needs_map
=
TRUE
;
/* layered windows are mapped only once their attributes are set */
if
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYERED
)
needs_map
=
data
->
layered
;
if
(
GetWindowLongW
(
hwnd
,
GWL_EXSTYLE
)
&
WS_EX_LAYERED
)
needs_map
=
data
->
layered
||
IsRectEmpty
(
rectWindow
);
release_win_data
(
data
);
if
(
needs_icon
)
fetch_icon_data
(
hwnd
,
0
,
0
);
if
(
needs_map
)
map_window
(
hwnd
,
new_style
);
...
...
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