Fix some signedness issues in the X11 primitives.
authorTaylor R Campbell <campbell@mumble.net>
Thu, 14 Oct 2010 03:02:18 +0000 (03:02 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Thu, 14 Oct 2010 03:02:18 +0000 (03:02 +0000)
commit1f91fc0f94fd303e63c96bc8e1d19f0b6f06282b
tree379ccebe21686d1b1c427d8a5408ce9b9ec622c5
parentd85e6ab0a7293cd252f54e304ef121e02059dc85
Fix some signedness issues in the X11 primitives.

Times are always unsigned; reflect this.

Screen coordinates are signed, and not always nonnegative; project
negative ones onto the border.  Widths and heights are technically
signed too, according to my Xlib.h, but I haven't observed negative
values, and negative values can't possibly make sense, whereas I have
observed negative coordinates in the wild (button down in-window,
button up out-of-window).
src/microcode/x11base.c
src/microcode/x11graph.c
src/microcode/x11term.c