Preprocessor fix for HAVE_LIBGPM
This commit is contained in:
parent
1e0f42d3b6
commit
8bc6edc018
11
src/fapp.cpp
11
src/fapp.cpp
|
@ -879,11 +879,22 @@ void FApplication::processMouseEvent()
|
||||||
{
|
{
|
||||||
bool event = false;
|
bool event = false;
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBGPM
|
||||||
if ( ! gpmMouseEvent
|
if ( ! gpmMouseEvent
|
||||||
&& x11_mouse[0] == '\0'
|
&& x11_mouse[0] == '\0'
|
||||||
&& sgr_mouse[0] == '\0'
|
&& sgr_mouse[0] == '\0'
|
||||||
&& urxvt_mouse[0] == '\0' )
|
&& urxvt_mouse[0] == '\0' )
|
||||||
|
{
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
if ( x11_mouse[0] == '\0'
|
||||||
|
&& sgr_mouse[0] == '\0'
|
||||||
|
&& urxvt_mouse[0] == '\0' )
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBGPM
|
#ifdef HAVE_LIBGPM
|
||||||
if ( gpmMouseEvent )
|
if ( gpmMouseEvent )
|
||||||
|
|
Loading…
Reference in New Issue