projects
/
ld42_outofspace
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
placing white holes, and changed to n-body gravitational pull instead of
[ld42_outofspace]
/
src
/
goatkit
/
screen.cc
diff --git
a/src/goatkit/screen.cc
b/src/goatkit/screen.cc
index
65e734d
..
2413bcc
100644
(file)
--- a/
src/goatkit/screen.cc
+++ b/
src/goatkit/screen.cc
@@
-186,6
+186,11
@@
bool Screen::grab_mouse(Widget *w)
return false;
}
+Widget *Screen::get_mouse_grab() const
+{
+ return scr->mgrab;
+}
+
void Screen::draw() const
{
for(size_t i=0; i<scr->widgets.size(); i++) {