Skip to content


8251240: Menus inaccessible on Linux with i3 wm
Browse files Browse the repository at this point in the history
Reviewed-by: jpereda, jvos
  • Loading branch information
Thiago Milczarek Sayao committed Sep 15, 2023
1 parent f7b21e5 commit f185974
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1010,14 +1010,10 @@ void WindowContextTop::process_configure(GdkEventConfigure* event) {

int x, y;

gdk_window_get_origin(gdk_window, &x, &y);
if (frame_type == TITLED) {
GdkRectangle rect;
gdk_window_get_frame_extents(gdk_window, &rect);
x = rect.x;
y = rect.y;
} else {
gdk_window_get_origin(gdk_window, &x, &y);
x -= geometry.extents.left;
y -=;

geometry.x = x;
Expand Down

1 comment on commit f185974

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.