summaryrefslogtreecommitdiff
path: root/uisimulator/x11/button-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/button-x11.c')
-rw-r--r--uisimulator/x11/button-x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index ae16e2e891..eae55318ad 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -172,7 +172,7 @@ int button_get_w_tmo(int ticks)
for(i=0; i< ticks; i++) {
bits = get_raw_button();
if(!bits)
- x11_sleep(1);
+ sim_sleep(1);
else
break;
}
@@ -193,14 +193,14 @@ int button_get(bool block)
do {
bits = get_raw_button();
if(block && !bits)
- x11_sleep(HZ/10);
+ sim_sleep(HZ/10);
else
break;
} while(1);
if(!block)
/* delay a bit */
- x11_sleep(1);
+ sim_sleep(1);
return bits;
}