summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-15 06:57:09 +0000
committersabetts <sabetts>2003-05-15 06:57:09 +0000
commit2d8945e4ee37ceee9d58e91681c6d3722a83c956 (patch)
treed996cd52065ba42dbcfb0089934303a8c604aa35 /src/input.c
parent0271c6daa38124232902a976e082a9b21dcc7043 (diff)
downloadratpoison-2d8945e4ee37ceee9d58e91681c6d3722a83c956.zip
(struct rp_screen): rename from
screen_info. Dependant code updated.
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c
index 0679b1e..94e2c9a 100644
--- a/src/input.c
+++ b/src/input.c
@@ -286,7 +286,7 @@ read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int len, i
}
static void
-update_input_window (screen_info *s, char *prompt, char *input, int input_len)
+update_input_window (rp_screen *s, char *prompt, char *input, int input_len)
{
int prompt_width = XTextWidth (defaults.font, prompt, strlen (prompt));
int input_width = XTextWidth (defaults.font, input, input_len);
@@ -337,7 +337,7 @@ get_more_input (char *prompt, char *preinput)
char keysym_buf[513];
int keysym_bufsize = sizeof (keysym_buf);
int nbytes;
- screen_info *s = current_screen ();
+ rp_screen *s = current_screen ();
int cur_len = 0; /* Current length of the string. */
int allocated_len=100; /* The amount of memory we allocated for str */
KeySym ch;