mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2008-03-26 Neil Roberts <neil@o-hand.com>
* clutter/win32/clutter-event-win32.c (clutter_event_check): Removed the pointless parameter in the call to check_msg_pending. (check_msg_pending): Fixed to use PeekMessageW instead of PeekMessage.
This commit is contained in:
parent
051ed6b43b
commit
9b52136be4
@ -1,3 +1,10 @@
|
|||||||
|
2008-03-26 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
|
* clutter/win32/clutter-event-win32.c (clutter_event_check):
|
||||||
|
Removed the pointless parameter in the call to check_msg_pending.
|
||||||
|
(check_msg_pending): Fixed to use PeekMessageW instead of
|
||||||
|
PeekMessage.
|
||||||
|
|
||||||
2008-03-25 Neil Roberts <neil@o-hand.com>
|
2008-03-25 Neil Roberts <neil@o-hand.com>
|
||||||
|
|
||||||
Added a native Win32 WGL backend.
|
Added a native Win32 WGL backend.
|
||||||
|
@ -177,7 +177,7 @@ check_msg_pending ()
|
|||||||
{
|
{
|
||||||
MSG msg;
|
MSG msg;
|
||||||
|
|
||||||
return PeekMessage (&msg, NULL, 0, 0, PM_NOREMOVE) ? TRUE : FALSE;
|
return PeekMessageW (&msg, NULL, 0, 0, PM_NOREMOVE) ? TRUE : FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ClutterModifierType
|
static ClutterModifierType
|
||||||
@ -232,13 +232,12 @@ static gboolean
|
|||||||
clutter_event_check (GSource *source)
|
clutter_event_check (GSource *source)
|
||||||
{
|
{
|
||||||
ClutterEventSource *event_source = (ClutterEventSource *) source;
|
ClutterEventSource *event_source = (ClutterEventSource *) source;
|
||||||
ClutterBackend *backend = event_source->backend;
|
|
||||||
gboolean retval;
|
gboolean retval;
|
||||||
|
|
||||||
clutter_threads_enter ();
|
clutter_threads_enter ();
|
||||||
|
|
||||||
if ((event_source->event_poll_fd.revents & G_IO_IN))
|
if ((event_source->event_poll_fd.revents & G_IO_IN))
|
||||||
retval = (clutter_events_pending () || check_msg_pending (backend));
|
retval = (clutter_events_pending () || check_msg_pending ());
|
||||||
else
|
else
|
||||||
retval = FALSE;
|
retval = FALSE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user