[xmonad] Why RationalRects for floating windows?
Norbert Zeh
nzeh at cs.dal.ca
Wed Jan 4 01:23:07 CET 2012
Hi folks,
I'm wondering whether anybody can enlighten me why the geometry of a floating
window is stored as a RationalRect relative to the screen size. I can see one
advantage to this approach: a centered window is centered on every screen.
Apart from that, I see only disadvantages to this approach, as it means that
windows get resized when workspaces shift between screens of different sizes.
If at least the aspect ratios of all screens are the same, this may be
acceptable, though not ideal. My newest setup combines two portrait screens
(1080x1920) with two landscape screens (1920x1080). A window that has a
reasonable geometry on one of the landscape screens now gets long and skinny on
the portrait screens.
I'd also appreciate any ideas on how to work around this issue, as I think
changing the way xmonad stores information about floating windows would just
break too many modules and thus isn't an option.
Thanks,
Norbert
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
More information about the xmonad
mailing list