aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-26 22:18:33 +0000
committerDavid Robillard <d@drobilla.net>2007-07-26 22:18:33 +0000
commit737c1d0a45676c21fc5025da0165ef7a6a70861e (patch)
treec940d29f52024d767b657c423ea7452ff92e493f
parent5b69373d9468683642012eb1522c3fcf577102b1 (diff)
downloadmachina-737c1d0a45676c21fc5025da0165ef7a6a70861e.tar.gz
machina-737c1d0a45676c21fc5025da0165ef7a6a70861e.tar.bz2
machina-737c1d0a45676c21fc5025da0165ef7a6a70861e.zip
Make canvas grab events.
Remove silly ctrl+click zoom event grabs. Add concept of "edit mode", old behaviour = edit mode, edit mode off = no connections or module moving. git-svn-id: http://svn.drobilla.net/lad/machina@641 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/MachinaCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/MachinaCanvas.cpp b/src/gui/MachinaCanvas.cpp
index c4d22ac..3386334 100644
--- a/src/gui/MachinaCanvas.cpp
+++ b/src/gui/MachinaCanvas.cpp
@@ -34,7 +34,7 @@ MachinaCanvas::MachinaCanvas(MachinaGUI* app, int width, int height)
: Canvas(width, height),
_app(app)
{
-
+ grab_focus();
}