1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

core: fix stuck mouse (patch from Nei) (bug #36533)

This commit is contained in:
Sebastien Helleu
2012-12-19 09:10:16 +01:00
parent e667b606a9
commit 3fcb00bfc5
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@ v0.4.0-dev, 2012-12-19
Version 0.4.0 (under dev!)
--------------------------
* core: fix stuck mouse (bug #36533)
* core: fix default mouse buttons actions for script buffer (focus the window
before executing action)
* core: add git version in build, display it in "weechat-curses --help" and
+7
View File
@@ -323,6 +323,13 @@ gui_mouse_event_code2key (const char *code)
}
}
/* nothing found, reset now or mouse will be stuck */
if (!key[0])
{
gui_mouse_event_reset ();
return NULL;
}
if (!MOUSE_CODE_END(code[0]))
{
strcat (key, "-event-");