mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -05:00
Fix minor breakage on Windows as a result of term_mouse revamp.
[originally from svn r2722]
This commit is contained in:
parent
af4be2e83e
commit
d08f9e8fce
4
window.c
4
window.c
@ -78,7 +78,7 @@
|
|||||||
#define WHEEL_DELTA 120
|
#define WHEEL_DELTA 120
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static Mouse_Button translate_button(void *frontend, Mouse_Button button);
|
static Mouse_Button translate_button(Mouse_Button button);
|
||||||
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam,
|
||||||
unsigned char *output);
|
unsigned char *output);
|
||||||
@ -1584,7 +1584,7 @@ static void click(Mouse_Button b, int x, int y, int shift, int ctrl, int alt)
|
|||||||
* Translate a raw mouse button designation (LEFT, MIDDLE, RIGHT)
|
* Translate a raw mouse button designation (LEFT, MIDDLE, RIGHT)
|
||||||
* into a cooked one (SELECT, EXTEND, PASTE).
|
* into a cooked one (SELECT, EXTEND, PASTE).
|
||||||
*/
|
*/
|
||||||
static Mouse_Button translate_button(void *frontend, Mouse_Button button)
|
static Mouse_Button translate_button(Mouse_Button button)
|
||||||
{
|
{
|
||||||
if (button == MBT_LEFT)
|
if (button == MBT_LEFT)
|
||||||
return MBT_SELECT;
|
return MBT_SELECT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user