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
2136f327
Commit
2136f327
authored
Apr 04, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11drv: Avoid redundant flushing of the thread display.
parent
57b1ea61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
event.c
dlls/x11drv/event.c
+1
-5
winpos.c
dlls/x11drv/winpos.c
+0
-3
No files found.
dlls/x11drv/event.c
View file @
2136f327
...
...
@@ -269,6 +269,7 @@ static int process_events( Display *display, ULONG_PTR mask )
handler
(
hwnd
,
&
event
);
wine_tsx11_lock
();
}
XFlush
(
gdi_display
);
wine_tsx11_unlock
();
if
(
count
)
TRACE
(
"processed %d events
\n
"
,
count
);
return
count
;
...
...
@@ -294,11 +295,6 @@ DWORD X11DRV_MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *handles,
/* check whether only server queue handle was passed in */
if
(
count
<
2
)
flags
&=
~
MWMO_WAITALL
;
wine_tsx11_lock
();
XFlush
(
gdi_display
);
XFlush
(
data
->
display
);
wine_tsx11_unlock
();
data
->
process_event_count
++
;
if
(
process_events
(
data
->
display
,
mask
))
ret
=
count
;
...
...
dlls/x11drv/winpos.c
View file @
2136f327
...
...
@@ -671,9 +671,6 @@ BOOL X11DRV_set_window_pos( HWND hwnd, HWND insert_after, const RECT *rectWindow
wine_tsx11_unlock
();
}
}
wine_tsx11_lock
();
XFlush
(
display
);
/* FIXME: should not be necessary */
wine_tsx11_unlock
();
}
}
WIN_ReleasePtr
(
win
);
...
...
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