Integrated: 8348095: [Linux] Menu shows up in wrong position when using i3 windows manager in full screen mode

Thiago Milczarek Sayao tsayao at openjdk.org
Fri Feb 14 16:37:25 UTC 2025


On Sun, 9 Feb 2025 19:10:49 GMT, Thiago Milczarek Sayao <tsayao at openjdk.org> wrote:

> The issue was with the view's position, specifically the content's X and Y coordinates relative to the window, including its decorations. When in fullscreen mode, the window remains decorated, but the decorations are hidden. As a result, the content's position needs to be recalculated to account for the window's adjusted layout.
> 
> It's not specific to i3.
> 
> I used `gdk_window_get_root_origin` because GTK provides a more robust mechanism to determine the value, even in cases where _NET_FRAME_EXTENTS is not supported by the window manager.

This pull request has now been integrated.

Changeset: b267340b
Author:    Thiago Milczarek Sayao <tsayao at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/b267340b9f472aea291a30d00de73096e4949f04
Stats:     22 lines in 3 files changed: 6 ins; 0 del; 16 mod

8348095: [Linux] Menu shows up in wrong position when using i3 windows manager in full screen mode

Reviewed-by: jpereda, lkostyra

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

PR: https://git.openjdk.org/jfx/pull/1702


More information about the openjfx-dev mailing list