Skip to content
Snippets Groups Projects
Commit 07ec615f authored by deuce's avatar deuce
Browse files

Not need to re-enable mouse if it's not disabled anymore.

parent 92f1c022
No related branches found
No related tags found
No related merge requests found
...@@ -1017,9 +1017,11 @@ int curs_hidemouse(void) ...@@ -1017,9 +1017,11 @@ int curs_hidemouse(void)
int curs_showmouse(void) int curs_showmouse(void)
{ {
/*
#ifdef NCURSES_VERSION_MAJOR #ifdef NCURSES_VERSION_MAJOR
if(mousemask(BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION,NULL)==BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION) if(mousemask(BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION,NULL)==BUTTON1_PRESSED|BUTTON1_RELEASED|BUTTON2_PRESSED|BUTTON2_RELEASED|BUTTON3_PRESSED|BUTTON3_RELEASED|REPORT_MOUSE_POSITION)
return(0); return(0);
#endif #endif
return(-1); return(-1);
*/
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment