[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32inevt.c [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32inevt.c [lexbind] |
Date: |
Tue, 06 Jul 2004 07:12:28 -0400 |
Index: emacs/src/w32inevt.c
diff -c emacs/src/w32inevt.c:1.27.4.3 emacs/src/w32inevt.c:1.27.4.4
*** emacs/src/w32inevt.c:1.27.4.3 Sat Feb 28 05:42:01 2004
--- emacs/src/w32inevt.c Tue Jul 6 09:14:38 2004
***************
*** 464,475 ****
}
if (event->uChar.AsciiChar == 0)
return 0;
! XSETINT (emacs_ev->code, event->uChar.AsciiChar);
}
else
{
emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT;
! XSETINT (emacs_ev->code, event->wVirtualKeyCode);
}
XSETFRAME (emacs_ev->frame_or_window, get_frame ());
--- 464,475 ----
}
if (event->uChar.AsciiChar == 0)
return 0;
! emacs_ev->code = event->uChar.AsciiChar;
}
else
{
emacs_ev->kind = NON_ASCII_KEYSTROKE_EVENT;
! emacs_ev->code = event->wVirtualKeyCode;
}
XSETFRAME (emacs_ev->frame_or_window, get_frame ());
***************
*** 524,531 ****
*part = 0;
SELECTED_FRAME ()->mouse_moved = 0;
! *x = movement_pos.X;
! *y = movement_pos.Y;
*time = movement_time;
UNBLOCK_INPUT;
--- 524,531 ----
*part = 0;
SELECTED_FRAME ()->mouse_moved = 0;
! XSETINT(*x, movement_pos.X);
! XSETINT(*y, movement_pos.Y);
*time = movement_time;
UNBLOCK_INPUT;
***************
*** 593,601 ****
if (but_change & mask)
{
if (i < NUM_TRANSLATED_MOUSE_BUTTONS)
! XSETINT (emacs_ev->code, emacs_button_translation[i]);
else
! XSETINT (emacs_ev->code, i);
break;
}
--- 593,601 ----
if (but_change & mask)
{
if (i < NUM_TRANSLATED_MOUSE_BUTTONS)
! emacs_ev->code = emacs_button_translation[i];
else
! emacs_ev->code = i;
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/w32inevt.c [lexbind],
Miles Bader <=