diff options
Diffstat (limited to 'src/client/input.cc')
| -rw-r--r-- | src/client/input.cc | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 5cbb17c..d6f83f9 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -21,6 +21,7 @@  #include "render/camera.h"  #include "render/draw.h"  #include "render/text.h" +#include "ui/ui.h"  namespace client  { @@ -706,6 +707,7 @@ void frame(float seconds)  				mouse_x = event.motion.x;  				mouse_y = event.motion.y;  				mouse_lastmoved = client()->time(); +				ui::root()->set_mouse_cursor((float) mouse_x, (float) mouse_y);  				break;  			case SDL_MOUSEBUTTONDOWN:  | 
