Set the key modifier state.

2007-06-03  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
	modifier state.

svn path=/trunk/; revision=18017
This commit is contained in:
Richard Hult 2007-06-03 18:51:16 +00:00 committed by Richard Hult
parent 975e7683b8
commit 9daa2554b5
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-06-03 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
modifier state.
2007-06-03 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit

View File

@ -605,8 +605,9 @@ create_crossing_event (GdkWindow *window,
event->crossing.mode = mode;
event->crossing.detail = detail;
/* FIXME: focus */
/* FIXME: state, (button state too) */
event->crossing.state = get_keyboard_modifiers_from_ns_event (nsevent);
/* FIXME: focus and button state */
return event;
}