|
@@ -444,7 +444,7 @@ class Display { |
|
|
return caca_set_mouse($this->dp, $state); |
|
|
return caca_set_mouse($this->dp, $state); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function getEvent($t, $timeout) { |
|
|
|
|
|
|
|
|
function getEvent($t, $timeout = 0) { |
|
|
$ev = caca_get_event($this->dp, $t, $timeout); |
|
|
$ev = caca_get_event($this->dp, $t, $timeout); |
|
|
if(! $ev) { |
|
|
if(! $ev) { |
|
|
return NULL; |
|
|
return NULL; |
|
|