5 Jan
2012
5 Jan
'12
2:22 a.m.
Quoting Norbert Zeh <nzeh@cs.dal.ca>:
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
I expect this is so that various functions can choose rectangles without knowing the size of your screen. e.g. you don't need to know the screen is 1024x768 to make a fullscreen window. I also suppose there's probably times when you want to deal with a RationalRect and times when you want to deal with a more concrete, screen-based rectangle, and that the only right solution will involve keeping both representations (and making sure they're in synch). ~d