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
34b108dd
Commit
34b108dd
authored
Apr 18, 2017
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Switch to normal window drawing on SetLayeredWindowAttributes call.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6a0ffd70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
win.c
dlls/user32/win.c
+5
-1
window.c
dlls/winemac.drv/window.c
+2
-0
window.c
dlls/winex11.drv/window.c
+2
-0
No files found.
dlls/user32/win.c
View file @
34b108dd
...
...
@@ -3749,7 +3749,11 @@ BOOL WINAPI SetLayeredWindowAttributes( HWND hwnd, COLORREF key, BYTE alpha, DWO
}
SERVER_END_REQ
;
if
(
ret
)
USER_Driver
->
pSetLayeredWindowAttributes
(
hwnd
,
key
,
alpha
,
flags
);
if
(
ret
)
{
USER_Driver
->
pSetLayeredWindowAttributes
(
hwnd
,
key
,
alpha
,
flags
);
update_window_state
(
hwnd
);
}
return
ret
;
}
...
...
dlls/winemac.drv/window.c
View file @
34b108dd
...
...
@@ -1561,6 +1561,8 @@ void CDECL macdrv_SetLayeredWindowAttributes(HWND hwnd, COLORREF key, BYTE alpha
if
(
data
)
{
data
->
layered
=
TRUE
;
data
->
ulw_layered
=
FALSE
;
if
(
data
->
surface
)
set_surface_use_alpha
(
data
->
surface
,
FALSE
);
if
(
data
->
cocoa_window
)
{
sync_window_opacity
(
data
,
key
,
alpha
,
FALSE
,
flags
);
...
...
dlls/winex11.drv/window.c
View file @
34b108dd
...
...
@@ -2535,6 +2535,8 @@ void CDECL X11DRV_SetLayeredWindowAttributes( HWND hwnd, COLORREF key, BYTE alph
if
(
data
)
{
set_window_visual
(
data
,
&
default_visual
);
if
(
data
->
whole_window
)
sync_window_opacity
(
data
->
display
,
data
->
whole_window
,
key
,
alpha
,
flags
);
if
(
data
->
surface
)
...
...
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