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
1afd5a25
Commit
1afd5a25
authored
Jan 20, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Jan 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Callout to call RedrawWindow32.
parent
9acfc0e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
22 deletions
+7
-22
event.c
windows/x11drv/event.c
+7
-22
No files found.
windows/x11drv/event.c
View file @
1afd5a25
...
...
@@ -34,6 +34,7 @@
#include "winpos.h"
#include "drive.h"
#include "shell.h"
#include "callback.h"
#include "keyboard.h"
#include "mouse.h"
#include "debug.h"
...
...
@@ -110,10 +111,6 @@ static void EVENT_GetGeometry( Window win, int *px, int *py,
unsigned
int
*
pwidth
,
unsigned
int
*
pheight
);
static
BOOL32
(
WINAPI
*
EVENT_RedrawWindow
)(
HWND32
hwnd
,
const
RECT32
*
rectUpdate
,
HRGN32
hrgnUpdate
,
UINT32
flags
)
=
NULL
;
/***********************************************************************
* EVENT_Init
*
...
...
@@ -615,15 +612,9 @@ static void EVENT_Expose( WND *pWnd, XExposeEvent *event )
rect
.
right
=
rect
.
left
+
event
->
width
;
rect
.
bottom
=
rect
.
top
+
event
->
height
;
if
(
!
EVENT_RedrawWindow
)
{
HMODULE32
hModule
=
GetModuleHandle32A
(
"USER32"
);
EVENT_RedrawWindow
=
GetProcAddress32
(
hModule
,
"RedrawWindow"
);
}
EVENT_RedrawWindow
(
pWnd
?
pWnd
->
hwndSelf
:
0
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_FRAME
|
RDW_ALLCHILDREN
|
RDW_ERASE
|
(
event
->
count
?
0
:
RDW_ERASENOW
)
);
Callout
.
RedrawWindow32
(
pWnd
?
pWnd
->
hwndSelf
:
0
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_FRAME
|
RDW_ALLCHILDREN
|
RDW_ERASE
|
(
event
->
count
?
0
:
RDW_ERASENOW
)
);
}
...
...
@@ -643,15 +634,9 @@ static void EVENT_GraphicsExpose( WND *pWnd, XGraphicsExposeEvent *event )
rect
.
right
=
rect
.
left
+
event
->
width
;
rect
.
bottom
=
rect
.
top
+
event
->
height
;
if
(
!
EVENT_RedrawWindow
)
{
HMODULE32
hModule
=
GetModuleHandle32A
(
"USER32"
);
EVENT_RedrawWindow
=
GetProcAddress32
(
hModule
,
"RedrawWindow"
);
}
EVENT_RedrawWindow
(
pWnd
?
pWnd
->
hwndSelf
:
0
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_ALLCHILDREN
|
RDW_ERASE
|
(
event
->
count
?
0
:
RDW_ERASENOW
)
);
Callout
.
RedrawWindow32
(
pWnd
?
pWnd
->
hwndSelf
:
0
,
&
rect
,
0
,
RDW_INVALIDATE
|
RDW_ALLCHILDREN
|
RDW_ERASE
|
(
event
->
count
?
0
:
RDW_ERASENOW
)
);
}
...
...
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