diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -538,7 +538,7 @@ void on_buttonpress(XButtonEvent *bev) { } void on_motionnotify(XMotionEvent *mev) { - if (!mev) + if (!mev || mode != MODE_NORMAL) return; if (mev->x >= 0 && mev->x <= win.w && mev->y >= 0 && mev->y <= win.h) { |