From 8a7669e832f742bf3d2d59cdb8069cf25976140f Mon Sep 17 00:00:00 2001 From: crschnick Date: Fri, 26 Jan 2024 17:41:37 +0000 Subject: [PATCH] Remove unused gtk fix --- app/src/main/java/io/xpipe/app/core/AppMainWindow.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/core/AppMainWindow.java b/app/src/main/java/io/xpipe/app/core/AppMainWindow.java index 3dd2247c..6ce9273c 100644 --- a/app/src/main/java/io/xpipe/app/core/AppMainWindow.java +++ b/app/src/main/java/io/xpipe/app/core/AppMainWindow.java @@ -240,13 +240,6 @@ public class AppMainWindow { public void show() { stage.show(); - - // Due to some weird GTK bug, we have to set these sizes every time we show a window even though they have been previously set - // This does not work every time however - stage.setX(stage.getX()); - stage.setY(stage.getY()); - stage.setWidth(stage.getWidth()); - stage.setHeight(stage.getHeight()); } private void setupContent(Comp content) {