On Mon, 18 Dec 2023 19:15:03 GMT, Martin Fox wrote:
>> While processing a key down event the Glass GTK code sends out PRESSED and
>> TYPED KeyEvents back to back. If the stage is closed during the PRESSED
>> event the code will end up referencing freed memory while sending out the
>> TYPED eve
Yes, exactly what I would like every client to avoid writing.
Eran
From: Nir Lisker [mailto:nlis...@gmail.com]
Sent: Saturday, December 23, 2023 9:24 PM
To: Eran Leshem
Cc: Kevin Rushforth; openjfx-dev@openjdk.org
Subject: Re: Converting a Color object to its string representation
I re
On Mon, 18 Dec 2023 11:19:18 GMT, Jose Pereda wrote:
>> This PR replaces the deprecated `gdk_pointer_grab` with `gdk_seat_grab`, and
>> `gdk_pointer_ungrab ` with `gdk_seat_ungrab`, using runtime checks and
>> wrapped functions for GTK 3.20+ (so systems without it still run with GTK
>> 3.8+),
I recently came across a place where I needed this conversion. This is what
I did:
String fullName = color.toString();
String cssName = "#" + fullName.substring(2, fullName.length() - 2);
Is this what you want to avoid writing? (Ignoring that the javadox of
toString() says "The content and format