From 737c1d0a45676c21fc5025da0165ef7a6a70861e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2007 22:18:33 +0000 Subject: 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 --- src/gui/MachinaCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.1