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
fb84ba59
Commit
fb84ba59
authored
Sep 22, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Fix SetLayeredWindowAttributes when called on a thread that doesn't have any window.
parent
2876bcd0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
window.c
dlls/winex11.drv/window.c
+11
-2
No files found.
dlls/winex11.drv/window.c
View file @
fb84ba59
...
@@ -2204,9 +2204,18 @@ int X11DRV_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
...
@@ -2204,9 +2204,18 @@ int X11DRV_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
*/
*/
void
X11DRV_SetLayeredWindowAttributes
(
HWND
hwnd
,
COLORREF
key
,
BYTE
alpha
,
DWORD
flags
)
void
X11DRV_SetLayeredWindowAttributes
(
HWND
hwnd
,
COLORREF
key
,
BYTE
alpha
,
DWORD
flags
)
{
{
Window
win
=
X11DRV_get_whole_window
(
hwnd
);
struct
x11drv_win_data
*
data
=
X11DRV_get_win_data
(
hwnd
);
if
(
win
)
sync_window_opacity
(
thread_display
(),
win
,
key
,
alpha
,
flags
);
if
(
data
)
{
if
(
data
->
whole_window
)
sync_window_opacity
(
thread_display
(),
data
->
whole_window
,
key
,
alpha
,
flags
);
}
else
{
Window
win
=
X11DRV_get_whole_window
(
hwnd
);
if
(
win
)
sync_window_opacity
(
gdi_display
,
win
,
key
,
alpha
,
flags
);
}
}
}
...
...
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