On Fri, Jan 6, 2012 at 12:06 PM, Carlos R. Mafra <[email protected]> wrote:
> On Fri, 6 Jan 2012 at 0:11:03 -0500, David Rawson Couzelis wrote: > > > I use xrandr to decrease the resolution of my display when I connect > > > it to my TV. When I change the resolution back to my monitor, a few > > > of the icons at the bottom of my dock are deleted. > > > > > > I already found the place in the code where this happens and changed > > > it so that any icon that I dock is never removed. I'd like to make a > > > more permanent change to the code, though. > > > > > > First of all, is this the desired action? > > > > > > It seems counter-intuitive to me. If I add icons to the dock, I > > > expect them to remain there until I remove them, even if the > > > resolution changes. Even so, I can understand how it would be back > > > for a user to get stuck with icons in the dock that can't be removed. > > > (at least, from the GUI) > > > > > > One option is to have a checkbox in "Expert User Preferences" for > > > "Crop dock to screen size (needs restart)". > > I don't think there should be a WPrefs option for it, it doesn't make > sense. The dockapps should never be removed without the manual > intervention of the user. > > If the resolution changed to something smaller and the docks no > longer fit, that's clearly a temporary thing - the higher resolution > will come back later. Are you sure ??? I used to change my monitor from time to time and it was common to stay for a long time in a lower resolution. > Nobody will set this option to "yes, drop my > dockapps to fit in whatever resolution that beamer might be using", > because later on they will have to put them back (nobody knows how > many). > > Where in the code wmaker drops the docks? You have to disallow that > unconditionally, imho. > > > -- > To unsubscribe, send mail to [email protected]. > -- ============================================================= Haroldo Gambini Santos Computing Department - Universidade Federal de Ouro Preto - UFOP email: haroldo [at ] iceb.ufop.br home/research page: www.decom.ufop.br/haroldo/ "Computer science is no more about computers than astronomy is about telescopes." Edsger Dijkstra
