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
d147e020
Commit
d147e020
authored
Jan 23, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Remove obsolete code to set Z-order for child windows.
parent
d0794c4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
window.c
dlls/winex11.drv/window.c
+3
-11
No files found.
dlls/winex11.drv/window.c
View file @
d147e020
...
...
@@ -1086,7 +1086,7 @@ void X11DRV_sync_window_position( Display *display, struct x11drv_win_data *data
*
* Create the whole X window for a given window
*/
static
Window
create_whole_window
(
Display
*
display
,
struct
x11drv_win_data
*
data
,
DWORD
style
)
static
Window
create_whole_window
(
Display
*
display
,
struct
x11drv_win_data
*
data
)
{
int
cx
,
cy
,
mask
;
XSetWindowAttributes
attr
;
...
...
@@ -1114,14 +1114,6 @@ static Window create_whole_window( Display *display, struct x11drv_win_data *dat
return
0
;
}
XSaveContext
(
display
,
data
->
whole_window
,
winContext
,
(
char
*
)
data
->
hwnd
);
/* non-maximized child must be at bottom of Z order */
if
((
style
&
(
WS_CHILD
|
WS_MAXIMIZE
))
==
WS_CHILD
)
{
XWindowChanges
changes
;
changes
.
stack_mode
=
Below
;
XConfigureWindow
(
display
,
data
->
whole_window
,
CWStackMode
,
&
changes
);
}
wine_tsx11_unlock
();
xim
=
x11drv_thread_data
()
->
xim
;
...
...
@@ -1332,7 +1324,7 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CREATESTRUCTA *cs, BOOL unicode )
/* create an X window if it's a top level window */
if
(
GetAncestor
(
hwnd
,
GA_PARENT
)
==
GetDesktopWindow
())
{
if
(
!
create_whole_window
(
display
,
data
,
cs
->
style
))
goto
failed
;
if
(
!
create_whole_window
(
display
,
data
))
goto
failed
;
}
}
...
...
@@ -1586,7 +1578,7 @@ void X11DRV_SetParent( HWND hwnd, HWND parent, HWND old_parent )
else
/* new top level window */
{
/* FIXME: we ignore errors since we can't really recover anyway */
create_whole_window
(
display
,
data
,
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
);
create_whole_window
(
display
,
data
);
}
}
...
...
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