From 42d6506f38a0d6c1ace38f6d033fbcf13d5ff71a Mon Sep 17 00:00:00 2001 From: C Date: Fri, 2 Oct 2026 18:03:28 -0700 Subject: [PATCH] Revert "chore(wx): increase window size on linux" This reverts commit af06958989bd0d8d4bed10b561a123ffe44cce42. --- src/udev_helper.c | 3 ++- src/wx/AppFrame.cpp | 6 +----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/udev_helper.c b/src/udev_helper.c index 1ed48a3..6a2d800 100644 --- a/src/udev_helper.c +++ b/src/udev_helper.c @@ -45,7 +45,8 @@ int udev_rules_exist(void) int add_udev_rules(void) { FILE *f = fopen("/tmp/udevhelper.sh", "wb"); - if (!f) return 1; + if (!f) + return 1; fwrite( embedded_add_udev_rules_sh, diff --git a/src/wx/AppFrame.cpp b/src/wx/AppFrame.cpp index b35a694..29af571 100644 --- a/src/wx/AppFrame.cpp +++ b/src/wx/AppFrame.cpp @@ -55,11 +55,7 @@ MainFrame::MainFrame() wxID_ANY, "palera1n - Version " + wxString(PALERAIN_VERSION), wxDefaultPosition, - #ifdef __linux__ - wxSize(520, 388), - #else - wxSize(480, 348), - #endif + wxSize(480, 348), wxDEFAULT_FRAME_STYLE & ~(wxMAXIMIZE_BOX | wxRESIZE_BORDER)) { auto* root = new wxBoxSizer(wxVERTICAL);