louisdem / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

page in sub-rio follows whole-screen size #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
page with -w or -R resizes its window to fit the image. if the image is larger 
than the screen, it limits its window size to the screen size. if it is running 
in a sub-rio, it ignores the sub-rio size, limiting its window to the screen 
size regardless of how much smaller the sub-rio may be.

more generally, how can programs even find the size of the sub-rio they may be 
running in? some of my scripts would be cleaner if i could find the sub-rio 
size.

Original issue reported on code.google.com by tereniao...@gmail.com on 2 Oct 2013 at 10:06

GoogleCodeExporter commented 9 years ago
maybe the answer is that they shouldnt and just write the requested size to 
ther wctl file with -dx, -dy and have rio figure out a reasonable placement. 
then we can remove all the cleverness from the program.

Original comment by cinap_le...@felloff.net on 3 Oct 2013 at 3:46

GoogleCodeExporter commented 9 years ago
changed rio to clamp window size to screen max.

Original comment by cinap_le...@felloff.net on 4 Oct 2013 at 11:12

GoogleCodeExporter commented 9 years ago
good enough for me.

Original comment by tereniao...@gmail.com on 27 Oct 2013 at 12:07