summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorQball Cow <qball@gmpclient.org>2014-05-21 17:33:28 +0200
committerQball Cow <qball@gmpclient.org>2014-05-21 17:33:28 +0200
commite3c20447c76157e68fc3db979060d883a9f590fd (patch)
tree66349e9f2a7397695b802371e51a90baeb918c63 /include
parent90e91aca13b16bc2dceb630eb5d16a83ebd56648 (diff)
Remove prompt option from textbox, simplify code, fix small drawing issue.
Diffstat (limited to 'include')
-rw-r--r--include/textbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/textbox.h b/include/textbox.h
index 678009d9..b9a93b68 100644
--- a/include/textbox.h
+++ b/include/textbox.h
@@ -9,7 +9,7 @@ typedef struct
short cursor;
XftFont *font;
XftColor color_fg, color_bg;
- char *text, *prompt;
+ char *text;
XIM xim;
XIC xic;
XGlyphInfo extents;
@@ -33,7 +33,7 @@ textbox* textbox_create ( Window parent,
TextboxFlags flags,
short x, short y, short w, short h,
char *font, char *fg, char *bg,
- char *text, char *prompt );
+ char *text );
void textbox_free ( textbox *tb );