We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e99599 + 7fbb527 commit 3adc01eCopy full SHA for 3adc01e
dmenu/dmenu_classes.cc
@@ -102,7 +102,7 @@ bool DMenu::on_key_press_event(GdkEventKey* key_event) {
102
this -> searchbox.set_text(this -> search_phrase);
103
this -> filter_view();
104
return true;
105
- } else if (key_event -> keyval == GDK_KEY_Return) {
+ } else if (this -> get_children().size() == 2 && key_event -> keyval == GDK_KEY_Return) {
106
// Workaround to launch the single item which has been selected programmatically
107
this -> get_children()[1] -> activate();
108
0 commit comments