mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
On Linux, repaints are only issued if the number of received SHM completion events matches the number of events initiated with `xShmPutImage`. Previously, destroying a GL context was calling `XSync (display, True)` which cleared the event queue. Sometimes, this would cause an 'SHM Completion Event' to be removed from the queue. This meant that the number of received events would never match the number of initiated events, and repainting would stop indefinitely. By calling `XSync (display, False)` instead, we ensure that pending events are kept in the queue, so any pending SHM completion event will be found as usual during the next repaint timer callback. |
||
|---|---|---|
| .. | ||
| juce_analytics | ||
| juce_audio_basics | ||
| juce_audio_devices | ||
| juce_audio_formats | ||
| juce_audio_plugin_client | ||
| juce_audio_processors | ||
| juce_audio_utils | ||
| juce_blocks_basics | ||
| juce_box2d | ||
| juce_core | ||
| juce_cryptography | ||
| juce_data_structures | ||
| juce_dsp | ||
| juce_events | ||
| juce_graphics | ||
| juce_gui_basics | ||
| juce_gui_extra | ||
| juce_opengl | ||
| juce_osc | ||
| juce_product_unlocking | ||
| juce_video | ||
| CMakeLists.txt | ||