mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-25 13:55:34 -05:00
Fix segfault in hmode.
This commit is contained in:
parent
7b06ec4a55
commit
df49b0709b
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,9 @@ void textbox_hide ( textbox *tb )
|
|||
// will also unmap the window if still displayed
|
||||
void textbox_free ( textbox *tb )
|
||||
{
|
||||
if ( tb == NULL ) {
|
||||
return;
|
||||
}
|
||||
if ( tb->flags & TB_EDITABLE ) {
|
||||
XDestroyIC ( tb->xic );
|
||||
XCloseIM ( tb->xim );
|
||||
|
|
Loading…
Reference in a new issue