diff --git a/src/sysinput.c b/src/sysinput.c index 2834660..8f45b37 100644 --- a/src/sysinput.c +++ b/src/sysinput.c @@ -26,13 +26,19 @@ static void *input_thread(void *arg) for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1) { if (tmp & mask) + { + Log(LDEBUG, "posting WM_HWBUTTONUP(%d)", (int)attr); MqPost1(Sys_Queue, 0, WM_HWBUTTONUP, attr); + } } tmp = st & ~last_bstate; for (attr = 1, mask = 1; attr <= 4; attr++, mask <<= 1) { if (tmp & mask) + { + Log(LDEBUG, "posting WM_HWBUTTONDOWN(%d)", (int)attr); MqPost1(Sys_Queue, 0, WM_HWBUTTONDOWN, attr); + } } last_bstate = st; }