Re: [PATCH] Mod+Wheel Window Resize

2009-10-12 Thread Johann Haarhoff
What do you think if I fold the patch below into yours before pushing your patch to the repo? Objections? None at all, please go ahead. - This message was sent using Obsidian SWiTCH web-mail. Obsidian SWiTCH - an Obsidian Systems company.

Re: [PATCH] Mod+Wheel Window Resize

2009-10-12 Thread Carlos R. Mafra
On Mon 12.Oct'09 at 22:18:00 +0200, Johann Haarhoff wrote: > On a difference note, it would be nice to be able to disable this on a > per-application basis. Google Earth uses Alt+Wheel for rotate, and I > think applications like Blender also have this mapped. Isn't Attributes... -> Advanced

Re: [PATCH] Mod+Wheel Window Resize

2009-10-12 Thread Johann Haarhoff
Try this patch. By querying the window-specified resize increments in the same way that wWindowConstrainSize() does we can ensure that the resize works properly. I like it. I find the blank space below the last line of my xterm irritating, and this fixes it. Some ideas which might be w

Re: [PATCH] Mod+Wheel Window Resize

2009-10-12 Thread Carlos R. Mafra
On Mon 12.Oct'09 at 13:31:48 +0100, Iain Patterson wrote: > Try this patch. By querying the window-specified resize increments in > the same way that wWindowConstrainSize() does we can ensure that the > resize works properly. Your patch works here, but I didn't quite like the end result for m

Re: [PATCH] Mod+Wheel Window Resize

2009-10-12 Thread Iain Patterson
Quoth Johann Haarhoff, Some applications (like xterm) like to be resized in fixed-size increments (multiples of terminal lines). If you do not respect this, you will get some blank space below the last terminal line which can look a bit confusing. wWindowConstrainSize() talks to the app and