ref: af492155d39f1ea88afc7da47e754ab7a116bb16
parent: 6480ce98375eba9880079482fb845d14902e9b24
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Tue Aug 20 19:48:18 EDT 2013
rio: position keyboard window (-k) at the bottom of the screen
--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -223,8 +223,7 @@
if(kbdin){kbdargv[2] = kbdin;
r = screen->r;
- r.max.x = r.min.x+300;
- r.max.y = r.min.y+80;
+ r.min.y = r.max.y-Dy(r)/3;
i = allocwindow(wscreen, r, Refbackup, DNofill);
wkeyboard = new(i, FALSE, scrolling, 0, nil, "/bin/rc", kbdargv);
if(wkeyboard == nil)
--
⑨