mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux: Fix BadWindow error when XSETTINGS is not available
This commit is contained in:
parent
9979dd27fa
commit
4f9a9c7bfc
3 changed files with 42 additions and 11 deletions
|
|
@ -1,6 +1,28 @@
|
|||
JUCE breaking changes
|
||||
=====================
|
||||
|
||||
develop
|
||||
=======
|
||||
|
||||
Change
|
||||
------
|
||||
XWindowSystemUtilities::XSettings now has a private constructor.
|
||||
|
||||
Possible Issues
|
||||
---------------
|
||||
User code that uses XSettings::XSettings() will fail to build.
|
||||
|
||||
Workaround
|
||||
----------
|
||||
Use the XSettings::createXSettings() factory function.
|
||||
|
||||
Rationale
|
||||
---------
|
||||
The XSETTINGS facility is not available on all Linux distributions and the old
|
||||
constructor would fail on such systems, potentially crashing the application.
|
||||
The factory function will return nullptr in such situations instead.
|
||||
|
||||
|
||||
Version 6.1.3
|
||||
=============
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue