From ffedaae4388c66a4d0d9b221bc6467e653f53008 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Tue, 27 May 2014 18:41:32 +0200 Subject: [PATCH] Fix crasher in some cases. --- source/rofi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rofi.c b/source/rofi.c index 1c180f61..a7bae83f 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -1341,7 +1341,7 @@ MenuReturn menu ( char **lines, char **input, char *prompt, Time *time, int *shi Atom clip = XInternAtom ( display, "CLIPBOARD", False ); Atom utf8 = XInternAtom ( display, "UTF8_STRING", False ); XConvertSelection ( display, ( ev.xkey.state & ShiftMask ) ? clip : XA_PRIMARY, - utf8, utf8, main_window, *time ); + utf8, utf8, main_window, CurrentTime ); } else if ( ( ( ev.xkey.state & ShiftMask ) == ShiftMask ) && key == XK_slash )