This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Linux: Set POLLOUT flag for fds to receive XShm completion events
tags/2021-05-28
ed
6 years ago
parent
ac519e541a
commit
77e93e35e4
2 changed files
with
1 additions
and
11 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
modules/juce_events/native/juce_linux_Messaging.cpp
+0
-10
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
+ 1
- 1
modules/juce_events/native/juce_linux_Messaging.cpp
View File
@@ -111,7 +111,7 @@ public:
const ScopedLock sl (lock);
fdReadCallbacks.push_back ({ fd, std::move (cb) });
pfds.push_back ({ fd, POLLIN, 0 });
pfds.push_back ({ fd, POLLIN
| POLLOUT
, 0 });
}
void unregisterFdCallback (int fd)
+ 0
- 10
modules/juce_gui_basics/native/juce_linux_X11_Windowing.cpp
View File
@@ -2265,16 +2265,6 @@ private:
void timerCallback() override
{
#if JUCE_USE_XSHM
if (XPending (display))
{
XEvent e;
ScopedXLock l (display);
while (XCheckTypedWindowEvent (display, peer.windowH, XShmGetEventBase (display), &e))
--shmPaintsPending;
}
if (shmPaintsPending != 0)
return;
#endif
Write
Preview
Loading…
Cancel
Save