From ac056dee0a823cd584549966fc2402f4338eecef Mon Sep 17 00:00:00 2001 From: Scoopta Date: Sun, 18 Aug 2019 18:12:05 -0700 Subject: [PATCH] Fixed dmenu mode --- src/wofi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wofi.c b/src/wofi.c index 7e0374d..b20b0c6 100644 --- a/src/wofi.c +++ b/src/wofi.c @@ -114,6 +114,8 @@ static void* do_dmenu(void* data) { } GtkWidget* label = gtk_label_new(line); gtk_widget_set_name(label, "unselected"); + gtk_widget_set_tooltip_text(label, line); + gtk_widget_set_has_tooltip(label, FALSE); gtk_label_set_xalign(GTK_LABEL(label), 0); struct node* node = malloc(sizeof(struct node)); node->widget = label;