diff --git a/CHANGELOG b/CHANGELOG index f9fa226..d21eaab 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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). diff --git a/pmenu.c b/pmenu.c index d8f058c..dd0cfdf 100644 --- a/pmenu.c +++ b/pmenu.c @@ -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();