summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-12-02 20:01:20 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-12-02 20:01:20 +0000
commitc4b2b2852dd8c4f1ba30d37ee0e40e1c6da1c3a9 (patch)
tree8cdafc9f79f9f2a88aed121bef68b9c30c7934f7
parentef1a3b9a611c6958a4b17808666e6912587023a5 (diff)
When we receive a NotionNotify event, there's no need to (incorrectly
might I add) redraw the top menu selection.
-rw-r--r--app/cwm/menu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/cwm/menu.c b/app/cwm/menu.c
index 3cd272239..68e0e653e 100644
--- a/app/cwm/menu.c
+++ b/app/cwm/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 *