diff options
author | okan | 2013-12-02 20:01:19 +0000 |
---|---|---|
committer | okan | 2013-12-02 20:01:19 +0000 |
commit | 1b52a28e341778e2233373eba9be8625358a19c0 (patch) | |
tree | 583dea7bd0e165572cbf5eba7deca766f0867d85 /menu.c | |
parent | 4bb691ce31f8eed5c74c4fdd24a18729ed79e463 (diff) | |
download | cwm-1b52a28e341778e2233373eba9be8625358a19c0.tar.gz |
When we receive a NotionNotify event, there's no need to (incorrectly
might I add) redraw the top menu selection.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.67 2013/12/02 19:49:26 okan Exp $ + * $OpenBSD: menu.c,v 1.68 2013/12/02 20:01:19 okan Exp $ */ #include <sys/param.h> @@ -475,9 +475,6 @@ menu_handle_move(XEvent *e, struct menu_ctx *mc, struct menu_q *resultq) menu_draw_entry(mc, resultq, mc->entry, 1); } else (void)xu_ptr_regrab(MENUGRABMASK, Conf.cursor[CF_DEFAULT]); - - if (mc->hasprompt) - menu_draw_entry(mc, resultq, 1, 1); } static struct menu * |