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
8cef8965
Commit
8cef8965
authored
Feb 14, 1999
by
Ove Kaaven
Committed by
Alexandre Julliard
Feb 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Since SetParent now hides/shows, explicitly invalidating DCs in the
parent change operation should no longer be necessary.
parent
902f9c65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
wnd.c
windows/x11drv/wnd.c
+0
-10
No files found.
windows/x11drv/wnd.c
View file @
8cef8965
...
...
@@ -270,8 +270,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
if
(
pWndParent
!=
pWndPrev
)
{
BOOL32
bFixupDCE
=
IsWindowVisible32
(
wndPtr
->
hwndSelf
);
if
(
X11DRV_WND_GetXWindow
(
wndPtr
)
)
{
/* Toplevel window needs to be reparented. Used by Tk 8.0 */
...
...
@@ -279,8 +277,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
TSXDestroyWindow
(
display
,
X11DRV_WND_GetXWindow
(
wndPtr
)
);
((
X11DRV_WND_DATA
*
)
wndPtr
->
pDriverData
)
->
window
=
None
;
}
else
if
(
bFixupDCE
)
DCE_InvalidateDCE
(
wndPtr
,
&
wndPtr
->
rectWindow
);
WIN_UnlinkWindow
(
wndPtr
->
hwndSelf
);
wndPtr
->
parent
=
pWndParent
;
...
...
@@ -324,12 +320,6 @@ WND *X11DRV_WND_SetParent(WND *wndPtr, WND *pWndParent)
}
}
WIN_LinkWindow
(
wndPtr
->
hwndSelf
,
HWND_TOP
);
if
(
bFixupDCE
)
{
DCE_InvalidateDCE
(
wndPtr
,
&
wndPtr
->
rectWindow
);
UpdateWindow32
(
wndPtr
->
hwndSelf
);
}
}
return
pWndPrev
;
}
/* failure */
...
...
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