Re: Responding to resolution changes
"Alex Austin" <[email protected]> Sun, 30 Nov 2008 14:44:23 -0600
| Newsgroups | gmane.comp.desktop.rox.devel |
|---|---|
| Message-ID | <[email protected]> |
Probably would have a similar effect, but why don't we just store panel icon positions as a floating value from 0-1 in each dimension? (0,0) would be icon centered on top-left corner of screen, (1,1) would be icon centered on bottom-right corner of screen. Am I off my rocker? On Sun, Nov 30, 2008 at 1:17 PM, Thomas Leonard <[email protected]> wrote: > 2008/11/30 Tony Houghton <[email protected]>: > > On Sun, 23 Nov 2008 12:07:36 +0000 > > "Thomas Leonard" <[email protected]> wrote: > > > >> 2008/11/18 Tony Houghton <[email protected]>: > >> > Is it possible for ROX to hook into some sort of signal so it can > >> > respond to resolution changes? It would be handy if it could adjust > its > >> > panels and backdrop icons to fit new resolutions. > [...] > >> I had a vague idea the filer already adapted to size changes, but I'm > >> stuck with an NVidia card at the moment, so xrandr doesn't work for me > >> anyway. > > > > I've just checked and found it was supposed to respond to size changes, > > but it wasn't updating the panels' copies of the screen geometry. That > > might well have been my oversight when I did the xinerama stuff! The fix > > is quite simple, patch attached. > > Aha - applied! > > > This still doesn't solve the problem of icons disappearing off the edge > > of the pinboard when the size decreases. IMO moving the icons > > permanently a la Windows is just about the lesser of two evils but I can > > think of two possible better strategies: > > There's also Dieter Meinert's patch. Does that work? It just needs > testing, I think: > > http://repo.or.cz/w/rox-filer.git?a=shortlog;h=refs/heads/pinboard-resize > > > -- > Dr Thomas Leonard ROX desktop / Zero Install > GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > rox-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/rox-devel > -- - Alex Austin (651) 238-9273 "...and then I visited Wikipedia ...and the next 8 hours are a blur." ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ rox-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rox-devel