tMaking -g -geometry compatible. - svkbd - Simple X11 onscreen keyboard.
(HTM) git clone git://r-36.net/svkbd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 2806bed425073b9f379019fed424b1e51e4bca85
(DIR) parent 3a5d2f3ed8e539209c2e07a995532c91b20faf8f
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 9 Oct 2011 18:00:21 +0200
Making -g -geometry compatible.
Diffstat:
svkbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/svkbd.c b/svkbd.c
t@@ -585,7 +585,7 @@ main(int argc, char *argv[]) {
} else if(!strcmp(argv[i], "-d")) {
isdock = True;
continue;
- } else if(!strcmp(argv[i], "-g")) {
+ } else if(!strncmp(argv[i], "-g", 2)) {
bitm = XParseGeometry(argv[i+1], &xr, &yr, &wr, &hr);
if(bitm & XValue)
wx = xr;