mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-07 14:24:14 +01:00
wmaker: Add autocomplete/history feature to keyboard shortcut Run dialog.
As reported by Juan Giordana, the autocomplete/history feature which is available to Run dialogs brought up by the root menu is not available to Run dialogs brought up by a keyboard shortcut. This patch enables this behavior.
This commit is contained in:
committed by
Carlos R. Mafra
parent
d309aa65d4
commit
0277a99d08
@@ -1791,7 +1791,7 @@ static void handleKeyPress(XEvent * event)
|
|||||||
{
|
{
|
||||||
char *cmdline;
|
char *cmdline;
|
||||||
|
|
||||||
cmdline = ExpandOptions(scr, _("exec %a(Run,Type command to run:)"));
|
cmdline = ExpandOptions(scr, _("exec %A(Run,Type command to run:)"));
|
||||||
|
|
||||||
if (cmdline) {
|
if (cmdline) {
|
||||||
XGrabPointer(dpy, scr->root_win, True, 0,
|
XGrabPointer(dpy, scr->root_win, True, 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user