Skip to content

Commit

Permalink
honor -p option
Browse files Browse the repository at this point in the history
After refactoring the code, the -p option was ignored.
This commit honor it again.
  • Loading branch information
phillbush committed Oct 1, 2021
1 parent 5131943 commit d681933
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
CHANGELOG

2.4.2 (2021-10-01).
• Fixed -p option.

2.4.1 (2021-09-25).
• Fixed CHANGELOG.

2.4.0 (2021-09-25).
• Added submenu generation at runtime (when output spec begins with $).
• Added -P option to prepend relative image paths with a prefix (#9).
Expand Down
3 changes: 3 additions & 0 deletions pmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1767,6 +1767,9 @@ main(int argc, char *argv[])
(ev.type == ButtonPress &&
((modifier && ev.xbutton.state == modifier) ||
(ev.xbutton.subwindow == None)))) {
if (rflag && pflag) {
XAllowEvents(dpy, ReplayPointer, CurrentTime);
}
getmonitor(&mon);
grabpointer();
grabkeyboard();
Expand Down

0 comments on commit d681933

Please sign in to comment.