On Sat, 7 Nov 2026 17:08:42 GMT, Marius Hanl <[email protected]> wrote:

>> modules/javafx.graphics/src/main/native-glass/gtk/GlassApplication.cpp line 
>> 59:
>> 
>>> 57: static int glass_x_error_handler(Display*, XErrorEvent*)
>>> 58: {
>>> 59:     return 0;
>> 
>> Maybe print the output of [XGetErrorText() 
>> ](https://tronche.com/gui/x/xlib/event-handling/protocol-errors/XGetErrorText.html)
>>  in DEBUG builds?
>
> Not sure if I understand correctly. This is only installed for the `#ifndef 
> VERBOSE` case.
> Debug builds will compile with `-DVERBOSE`, so this handler is not installed 
> at all for debug builds.
> -> Full error is printed and the app will exit.

You're right. My bad — I overlooked the #ifndef directive.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/2296#discussion_r4504399197

Reply via email to