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
d820437b
Commit
d820437b
authored
Jan 17, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused ForceWindowRaise function.
parent
bcecddc0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
57 deletions
+0
-57
user_main.c
dlls/user/user_main.c
+0
-1
user_private.h
dlls/user/user_private.h
+0
-1
winpos.c
dlls/x11drv/winpos.c
+0
-54
x11drv.spec
dlls/x11drv/x11drv.spec
+0
-1
No files found.
dlls/user/user_main.c
View file @
d820437b
...
@@ -117,7 +117,6 @@ static BOOL load_driver(void)
...
@@ -117,7 +117,6 @@ static BOOL load_driver(void)
GET_USER_FUNC
(
CreateWindow
);
GET_USER_FUNC
(
CreateWindow
);
GET_USER_FUNC
(
DestroyWindow
);
GET_USER_FUNC
(
DestroyWindow
);
GET_USER_FUNC
(
GetDC
);
GET_USER_FUNC
(
GetDC
);
GET_USER_FUNC
(
ForceWindowRaise
);
GET_USER_FUNC
(
MsgWaitForMultipleObjectsEx
);
GET_USER_FUNC
(
MsgWaitForMultipleObjectsEx
);
GET_USER_FUNC
(
ReleaseDC
);
GET_USER_FUNC
(
ReleaseDC
);
GET_USER_FUNC
(
ScrollDC
);
GET_USER_FUNC
(
ScrollDC
);
...
...
dlls/user/user_private.h
View file @
d820437b
...
@@ -99,7 +99,6 @@ typedef struct tagUSER_DRIVER {
...
@@ -99,7 +99,6 @@ typedef struct tagUSER_DRIVER {
BOOL
(
*
pCreateWindow
)(
HWND
,
CREATESTRUCTA
*
,
BOOL
);
BOOL
(
*
pCreateWindow
)(
HWND
,
CREATESTRUCTA
*
,
BOOL
);
BOOL
(
*
pDestroyWindow
)(
HWND
);
BOOL
(
*
pDestroyWindow
)(
HWND
);
BOOL
(
*
pGetDC
)(
HWND
,
HDC
,
HRGN
,
DWORD
);
BOOL
(
*
pGetDC
)(
HWND
,
HDC
,
HRGN
,
DWORD
);
void
(
*
pForceWindowRaise
)(
HWND
);
DWORD
(
*
pMsgWaitForMultipleObjectsEx
)(
DWORD
,
const
HANDLE
*
,
DWORD
,
DWORD
,
DWORD
);
DWORD
(
*
pMsgWaitForMultipleObjectsEx
)(
DWORD
,
const
HANDLE
*
,
DWORD
,
DWORD
,
DWORD
);
void
(
*
pReleaseDC
)(
HWND
,
HDC
);
void
(
*
pReleaseDC
)(
HWND
,
HDC
);
BOOL
(
*
pScrollDC
)(
HDC
,
INT
,
INT
,
const
RECT
*
,
const
RECT
*
,
HRGN
,
LPRECT
);
BOOL
(
*
pScrollDC
)(
HDC
,
INT
,
INT
,
const
RECT
*
,
const
RECT
*
,
HRGN
,
LPRECT
);
...
...
dlls/x11drv/winpos.c
View file @
d820437b
...
@@ -2044,57 +2044,3 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
...
@@ -2044,57 +2044,3 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
else
WINPOS_ShowIconTitle
(
hwnd
,
TRUE
);
else
WINPOS_ShowIconTitle
(
hwnd
,
TRUE
);
}
}
}
}
/***********************************************************************
* ForceWindowRaise (X11DRV.@)
*
* Raise a window on top of the X stacking order, while preserving
* the correct Windows Z order.
*
* FIXME: this should go away.
*/
void
X11DRV_ForceWindowRaise
(
HWND
hwnd
)
{
int
i
=
0
;
HWND
*
list
;
XWindowChanges
winChanges
;
Display
*
display
=
thread_display
();
WND
*
wndPtr
=
WIN_FindWndPtr
(
hwnd
);
if
(
!
wndPtr
)
return
;
if
((
wndPtr
->
dwExStyle
&
WS_EX_MANAGED
)
||
wndPtr
->
parent
!=
GetDesktopWindow
()
||
IsRectEmpty
(
&
wndPtr
->
rectWindow
)
||
!
get_whole_window
(
wndPtr
))
{
WIN_ReleaseWndPtr
(
wndPtr
);
return
;
}
WIN_ReleaseWndPtr
(
wndPtr
);
/* Raise all windows up to wndPtr according to their Z order.
* (it would be easier with sibling-related Below but it doesn't
* work very well with SGI mwm for instance)
*/
winChanges
.
stack_mode
=
Above
;
if
(
!
(
list
=
WIN_ListChildren
(
GetDesktopWindow
()
)))
return
;
while
(
list
[
i
]
&&
list
[
i
]
!=
hwnd
)
i
++
;
if
(
list
[
i
])
{
for
(
;
i
>=
0
;
i
--
)
{
WND
*
ptr
=
WIN_FindWndPtr
(
list
[
i
]
);
if
(
!
ptr
)
continue
;
if
(
!
IsRectEmpty
(
&
ptr
->
rectWindow
)
&&
get_whole_window
(
ptr
))
{
wine_tsx11_lock
();
XReconfigureWMWindow
(
display
,
get_whole_window
(
ptr
),
0
,
CWStackMode
,
&
winChanges
);
wine_tsx11_unlock
();
}
WIN_ReleaseWndPtr
(
ptr
);
}
}
HeapFree
(
GetProcessHeap
(),
0
,
list
);
}
dlls/x11drv/x11drv.spec
View file @
d820437b
...
@@ -90,7 +90,6 @@
...
@@ -90,7 +90,6 @@
@ cdecl EmptyClipboard(long) X11DRV_EmptyClipboard
@ cdecl EmptyClipboard(long) X11DRV_EmptyClipboard
@ cdecl EndClipboardUpdate() X11DRV_EndClipboardUpdate
@ cdecl EndClipboardUpdate() X11DRV_EndClipboardUpdate
@ cdecl EnumClipboardFormats(long) X11DRV_EnumClipboardFormats
@ cdecl EnumClipboardFormats(long) X11DRV_EnumClipboardFormats
@ cdecl ForceWindowRaise(long) X11DRV_ForceWindowRaise
@ cdecl GetClipboardData(long ptr ptr) X11DRV_GetClipboardData
@ cdecl GetClipboardData(long ptr ptr) X11DRV_GetClipboardData
@ cdecl GetClipboardFormatName(long str long) X11DRV_GetClipboardFormatName
@ cdecl GetClipboardFormatName(long str long) X11DRV_GetClipboardFormatName
@ cdecl GetDC(long long long long) X11DRV_GetDC
@ cdecl GetDC(long long long long) X11DRV_GetDC
...
...
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