aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorokan2013-12-02 20:01:19 +0000
committerokan2013-12-02 20:01:19 +0000
commit1b52a28e341778e2233373eba9be8625358a19c0 (patch)
tree583dea7bd0e165572cbf5eba7deca766f0867d85 /menu.c
parent4bb691ce31f8eed5c74c4fdd24a18729ed79e463 (diff)
downloadcwm-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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/menu.c b/menu.c
index 3cd2722..68e0e65 100644
--- a/menu.c
+++ b/menu.c
@@ -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 *