projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7bda22
)
renamed function 'WaitEventFiltered' to 'WaitValidEvent'
author
Holger Schemel
<info@artsoft.org>
Wed, 31 Jan 2018 19:41:51 +0000
(20:41 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 31 Jan 2018 19:42:52 +0000
(20:42 +0100)
- to match function 'NextValidEvent'
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index 2998066b98230577aae3198ddbc0b861877646bc..b51839817a0e480b37be24bc8fb26bab2aee0aca 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-128,7
+128,7
@@
static boolean SkipPressedMouseMotionEvent(const Event *event)
return FALSE;
}
-static boolean Wait
EventFiltered
(Event *event)
+static boolean Wait
ValidEvent
(Event *event)
{
WaitEvent(event);
@@
-152,7
+152,7
@@
static boolean WaitEventFiltered(Event *event)
boolean NextValidEvent(Event *event)
{
while (PendingEvent())
- if (Wait
EventFiltered
(event))
+ if (Wait
ValidEvent
(event))
return TRUE;
return FALSE;
@@
-391,7
+391,7
@@
void SleepWhileUnmapped()
{
Event event;
- if (!Wait
EventFiltered
(&event))
+ if (!Wait
ValidEvent
(&event))
continue;
switch (event.type)