>>>> "kk" == Kirill M Katsnelson
<kkm(a)kis.ru> writes:
kk> I tried to fix a bug reported by Hrvoje, when no divider appears between
kk> two windows of which left has left scrollbar, and the right has right
kk> scrollbar. While combing thru the code it become clear how easy it is
kk> to implement draggable window dividers (it appeared the false impression
kk> when it came down to writing lisp function which handles the drag. Better
kk> do not read it :)
kk> Visually, draggable dividers suck under X. With out of the box default
kk> coloring, they are invisible at all. In the patch, I changed the divider
kk> color under X to that of modeline foreground (it was background), so they
kk> became black. Oh too black...
kk> I was going to implement a separate face for dividers, but there's a much
kk> better soultion: make the dividers 3-D, just like the modeline, what
kk> Jonathan actually did under Windows from the very beginning. I looked
kk> at the code which draws 3-D border around modeline, and understood that
kk> this is beyond my powers to do this myself. Any good soul out there can
kk> make this under X? Picture attached ;)
I had to change
x1 -> x in this statement
if (clear)
XClearArea (dpy, x_win, x, y1, X_DIVIDER_WIDTH, y2 - y1, False);
^
it's line 1410 in redisplay-x.c
Overall, I'd say pretty slick. I'd vote for it.
jeff