Skip to content

Commit af74ff0

Browse files
committed
Stop allowing left mouse button to close console if pointer not visible
1 parent 2eea48c commit af74ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c_console.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ bool C_Responder(event_t *ev)
26952695
}
26962696
else if (ev->type == ev_mouse)
26972697
{
2698-
if (ev->data1 & MOUSE_LEFTBUTTON)
2698+
if ((ev->data1 & MOUSE_LEFTBUTTON) && usingmouse)
26992699
{
27002700
const int x = (ev->data2 - (vid_widescreen ? 0 : MAXWIDESCREENDELTA)) * 2;
27012701
const int y = ev->data3 * 2;

0 commit comments

Comments
 (0)