Kaynağa Gözat

Mode-guard in on_motionnotify

master
Bert 14 yıl önce
ebeveyn
işleme
72e8baf13e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      main.c

+ 1
- 1
main.c Dosyayı Görüntüle

@@ -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) {


Yükleniyor…
İptal
Kaydet