Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r--src/ui/ui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index 91eacd3..459a2a0 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -484,8 +484,13 @@ void UI::frame()
}
ui_mouse_focus = f;
+ // reset mouse pointer
+ ui::root()->set_pointer("pointer");
+
+ // draw the widget stack
event_draw();
+ // draw the mouse pointer
if (visible())
draw_pointer();
}