Code

Replaced the time_t type with glibs GTime
[ncmpc.git] / src / command.c
index 50dcdf7d777087d408fd7bedb3b516b00d1a2d99..1d77d0d2d4b9d4a413e387c1e4049ed786cddc7e 100644 (file)
@@ -175,8 +175,6 @@ static command_definition_t cmds[] =
     N_("Clock screen") },
 #endif
 
-
-
   { { -1,  -1,  -1 }, 0, CMD_NONE, NULL, NULL }
 };
 
@@ -396,6 +394,11 @@ get_keyboard_command_with_timeout(int ms)
   if( key==ERR )
     return CMD_NONE;
 
+#ifdef HAVE_GETMOUSE
+  if( key==KEY_MOUSE )
+    return CMD_MOUSE_EVENT;
+#endif
+
   return get_key_command(key);
 }