From: <el...@ji...> - 2006-04-15 18:40:15
|
Jonathan North Washington wrote: > > On 13 Apr 2006, at 08:14, Elmo Mäntynen wrote: > >> Jonathan North Washington wrote: >> >>> I'd like to hear people's thoughts on this. I also wonder how easy >>> Elmo thinks this would be to implement, and whether it's an >>> appropriate feature for PyWM. >> >> >> This is definitely suited for pywm. If you have the time (shouldn't >> take >> long), you can try to implement this in a wm-script and tell if >> something in pywm should adjusted to accomodate this kind of behavior >> better. Alternatively you can just wait till someone, like me, >> implements this, which should happen soon. Anyway, you should post any >> specific details you might have in mind so we can come up with a >> kind of >> spec. > > > I'm not sure about writing a wm script (I imagine that's best done > running PyWM, and I'm currently running OS X as my primary OS, so it > would take a little effort to figure out even what's entailed..), but > here's the basic logic for what it should do: > - if window is being dragged and cursor hits a screen edge: > - maximise window horizontally if top or bottom edge > - maximise window vertically if left or right edge > - reset area where windows can be maximised to the remaining screen > area > - if maximised window is dragged, unmaximise > > I suppose there's a little bit more to it than that, but that should > provide the basics. Seems pretty simple, and so useful it's a wonder > all WMs don't do it.. There should probably be a way (in a config > file or menu somewhere) to enable and disable this feature. > > And btw, my friend who came up with the demo calls the feature > "Window Locking". I suppose that's a good name for it. > If no one beats me to it, I will try to do this. Hopefully soon, though not guaranteed =). Elmo |