This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Mode-guard in on_motionnotify
master
Bert
14 years ago
parent
f0f6644fae
commit
72e8baf13e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
main.c
+ 1
- 1
main.c
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save