X11: Allow toggling mouse_support off
Prevents accidental mouse clicks on the map.
This commit is contained in:
@@ -1029,6 +1029,9 @@ Cardinal *num_params;
|
||||
|
||||
switch (event->type) {
|
||||
case ButtonPress:
|
||||
if (!iflags.wc_mouse_support)
|
||||
return;
|
||||
|
||||
button = (XButtonEvent *) event;
|
||||
#ifdef VERBOSE_INPUT
|
||||
printf("button press\n");
|
||||
|
||||
Reference in New Issue
Block a user