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
83674ecc
Commit
83674ecc
authored
Mar 15, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Michael Abd-El-Malek (on behalf of Corel)
When we were switching to another desktop, the popup windows lost their WS_VISIBLE flag.
parent
cd8cf5e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
dce.c
windows/dce.c
+5
-5
event.c
windows/x11drv/event.c
+4
-1
No files found.
windows/dce.c
View file @
83674ecc
...
...
@@ -251,11 +251,11 @@ static INT DCE_ReleaseDC( DCE* dce )
/***********************************************************************
* DCE_InvalidateDCE
*
* It is called from SetWindowPos()
- we have to mark as dirty all busy
*
DCEs for windows that have pWnd->parent as an ansector and whose client
*
rect intersects with specified update rectangle. In addition, pWnd->parent
*
DCEs may need to be updated if DCX_CLIPCHILDREN flag is set.
*/
* It is called from SetWindowPos()
and EVENT_MapNotify - we have to
*
mark as dirty all busy DCEs for windows that have pWnd->parent as
*
an ansector and whose client rect intersects with specified update
*
rectangle. In addition, pWnd->parent DCEs may need to be updated if
*
DCX_CLIPCHILDREN flag is set. *
/
BOOL
DCE_InvalidateDCE
(
WND
*
pWnd
,
const
RECT
*
pRectUpdate
)
{
WND
*
wndScope
=
WIN_LockWndPtr
(
pWnd
->
parent
);
...
...
windows/x11drv/event.c
View file @
83674ecc
...
...
@@ -1825,7 +1825,9 @@ void EVENT_MapNotify( HWND hWnd, XMapEvent *event )
WND
*
pWnd
=
WIN_FindWndPtr
(
hWnd
);
if
(
pWnd
->
flags
&
WIN_MANAGED
)
{
DCE_InvalidateDCE
(
pWnd
,
&
pWnd
->
rectWindow
);
pWnd
->
dwStyle
&=
~
WS_MINIMIZE
;
pWnd
->
dwStyle
|=
WS_VISIBLE
;
ShowOwnedPopups
(
hWnd
,
TRUE
);
}
WIN_ReleaseWndPtr
(
pWnd
);
...
...
@@ -1850,7 +1852,8 @@ void EVENT_UnmapNotify( HWND hWnd, XUnmapEvent *event )
EndMenu
();
if
(
pWnd
->
dwStyle
&
WS_VISIBLE
)
{
pWnd
->
dwStyle
|=
WS_MINIMIZE
;
pWnd
->
dwStyle
|=
WS_MINIMIZE
;
pWnd
->
dwStyle
&=
~
WS_VISIBLE
;
ShowOwnedPopups
(
hWnd
,
FALSE
);
}
}
...
...
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