From 1725b471fa0cf1c942c9766b13c9e2061b1b6423 Mon Sep 17 00:00:00 2001 From: auouymous Date: Sat, 11 Mar 2023 03:15:29 -0700 Subject: [PATCH] Do not move window if maximised. The delayed move can reposition the window after it has been maximized. --- src/gpodder/gtkui/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpodder/gtkui/config.py b/src/gpodder/gtkui/config.py index 19d68d52..5eea4e75 100644 --- a/src/gpodder/gtkui/config.py +++ b/src/gpodder/gtkui/config.py @@ -186,7 +186,7 @@ class UIConfig(config.Config): # https://github.com/gpodder/gpodder/pull/933#issuecomment-818039693 if cfg.x == -1 or cfg.y == -1: window.set_position(Gtk.WindowPosition.CENTER_ON_PARENT) - else: + elif not cfg.maximized: window.move(cfg.x, cfg.y) # From Gtk docs: most window managers ignore requests for initial window # positions (instead using a user-defined placement algorithm) and honor