fvwmorg / fvwm3

FVWM version 3 -- the successor to fvwm2
Other
515 stars 78 forks source link

IconMan is in the wrong spot #879

Closed polarbub closed 1 year ago

polarbub commented 1 year ago

Upfront Information

Expected Behaviour

When starting fvwm3 the IconMan should be on the right side of the primary monitor.

Actual Behaviour

The IconMan was on the right side of the whole X screen on my second monitor. It seems like fvwm knows that it should be on my left monitor because it won't maximize windows over where it should be. It's trivial to move it as shown in the video, it is just a little bit annoying.

Steps to Reproduce

1) Connect two monitors 2) Set left monitor as primary via randr 3) Start fvwm3 with the default configuration 4) Observe the IconMan being in the wrong place

Extra info

This doesn't happen on version 1.0.6a

https://github.com/fvwmorg/fvwm3/assets/71790726/e4b41292-ad23-4c5b-8bd7-221ab3ec635c

ThomasAdam commented 1 year ago

Does this fix it?

diff --git a/default-config/config b/default-config/config
index 0d4da94b7..203bd27e7 100644
--- a/default-config/config
+++ b/default-config/config
@@ -613,7 +613,7 @@ DestroyModuleConfig FvwmScript:*
 #
 # Note - To use the system tray you must have "stalonetray" installed.
 DestroyModuleConfig RightPanel:*
-*RightPanel: Geometry 120x$[monitor.$[monitor.primary].height]-0+0
+*RightPanel: Geometry 120x$[monitor.$[monitor.primary].height]-0+0@p
 *RightPanel: Colorset 10
 *RightPanel: Rows $[monitor.$[monitor.primary].height]
 *RightPanel: Columns 120
polarbub commented 1 year ago

Yep! Works like a charm!