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
6a0f3df6
Commit
6a0f3df6
authored
May 01, 2014
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Don't bother returning a value from the SetWindowRgn driver entry point.
parent
ddf861da
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
10 deletions
+6
-10
driver.c
dlls/user32/driver.c
+3
-4
user_private.h
dlls/user32/user_private.h
+1
-1
window.c
dlls/winemac.drv/window.c
+1
-3
window.c
dlls/winex11.drv/window.c
+1
-2
No files found.
dlls/user32/driver.c
View file @
6a0f3df6
...
...
@@ -457,9 +457,8 @@ static void CDECL nulldrv_SetParent( HWND hwnd, HWND parent, HWND old_parent )
{
}
static
int
CDECL
nulldrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
static
void
CDECL
nulldrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
{
return
1
;
}
static
void
CDECL
nulldrv_SetWindowIcon
(
HWND
hwnd
,
UINT
type
,
HICON
icon
)
...
...
@@ -757,9 +756,9 @@ static void CDECL loaderdrv_SetLayeredWindowAttributes( HWND hwnd, COLORREF key,
load_driver
()
->
pSetLayeredWindowAttributes
(
hwnd
,
key
,
alpha
,
flags
);
}
static
int
CDECL
loaderdrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
static
void
CDECL
loaderdrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
{
return
load_driver
()
->
pSetWindowRgn
(
hwnd
,
hrgn
,
redraw
);
load_driver
()
->
pSetWindowRgn
(
hwnd
,
hrgn
,
redraw
);
}
static
BOOL
CDECL
loaderdrv_UpdateLayeredWindow
(
HWND
hwnd
,
const
UPDATELAYEREDWINDOWINFO
*
info
,
...
...
dlls/user32/user_private.h
View file @
6a0f3df6
...
...
@@ -105,7 +105,7 @@ typedef struct tagUSER_DRIVER {
void
(
CDECL
*
pSetFocus
)(
HWND
);
void
(
CDECL
*
pSetLayeredWindowAttributes
)(
HWND
,
COLORREF
,
BYTE
,
DWORD
);
void
(
CDECL
*
pSetParent
)(
HWND
,
HWND
,
HWND
);
int
(
CDECL
*
pSetWindowRgn
)(
HWND
,
HRGN
,
BOOL
);
void
(
CDECL
*
pSetWindowRgn
)(
HWND
,
HRGN
,
BOOL
);
void
(
CDECL
*
pSetWindowIcon
)(
HWND
,
UINT
,
HICON
);
void
(
CDECL
*
pSetWindowStyle
)(
HWND
,
INT
,
STYLESTRUCT
*
);
void
(
CDECL
*
pSetWindowText
)(
HWND
,
LPCWSTR
);
...
...
dlls/winemac.drv/window.c
View file @
6a0f3df6
...
...
@@ -1374,7 +1374,7 @@ void CDECL macdrv_SetParent(HWND hwnd, HWND parent, HWND old_parent)
*
* Assign specified region to window (for non-rectangular windows)
*/
int
CDECL
macdrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
void
CDECL
macdrv_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
{
struct
macdrv_win_data
*
data
;
...
...
@@ -1393,8 +1393,6 @@ int CDECL macdrv_SetWindowRgn(HWND hwnd, HRGN hrgn, BOOL redraw)
if
(
procid
!=
GetCurrentProcessId
())
SendMessageW
(
hwnd
,
WM_MACDRV_SET_WIN_REGION
,
0
,
0
);
}
return
TRUE
;
}
...
...
dlls/winex11.drv/window.c
View file @
6a0f3df6
...
...
@@ -2435,7 +2435,7 @@ done:
*
* Assign specified region to window (for non-rectangular windows)
*/
int
CDECL
X11DRV_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
void
CDECL
X11DRV_SetWindowRgn
(
HWND
hwnd
,
HRGN
hrgn
,
BOOL
redraw
)
{
struct
x11drv_win_data
*
data
;
...
...
@@ -2448,7 +2448,6 @@ int CDECL X11DRV_SetWindowRgn( HWND hwnd, HRGN hrgn, BOOL redraw )
{
SendMessageW
(
hwnd
,
WM_X11DRV_SET_WIN_REGION
,
0
,
0
);
}
return
TRUE
;
}
...
...
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