RFR: 8260528: Clean glass-gtk sizing and positioning code [v27]
Thiago Milczarek Sayao
tsayao at openjdk.org
Wed Nov 16 23:13:21 UTC 2022
On Wed, 16 Nov 2022 20:59:32 GMT, Johan Vos <jvos at openjdk.org> wrote:
>> Thiago Milczarek Sayao has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>>
>> 8260528: Clean glass-gtk sizing and positioning code
>
> modules/javafx.graphics/src/main/java/com/sun/glass/ui/gtk/GtkWindow.java line 191:
>
>> 189: setBoundsImpl(ptr, x, y, xSet, ySet, w, h, cw, ch);
>> 190:
>> 191: if ((w <= 0) && (cw > 0) || (h <= 0) && (ch > 0)) {
>
> Why is this block removed?
Size adjusting accounting frame extents is done in `WindowContextTop::update_frame_extents()`
-------------
PR: https://git.openjdk.org/jfx/pull/915
More information about the openjfx-dev
mailing list