diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-02-06 21:45:14 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-02-06 21:45:14 +0000 |
| commit | 9d9e9264afc4e6f83d59bd25ccae505eadb739d8 (patch) | |
| tree | 3621f6c37127818a59083d5c8207f656b6bf5c7d /src/ui/tool/event-utils.h | |
| parent | Fix event handling for control points when multiple buttons are pressed; (diff) | |
| download | inkscape-9d9e9264afc4e6f83d59bd25ccae505eadb739d8.tar.gz inkscape-9d9e9264afc4e6f83d59bd25ccae505eadb739d8.zip | |
Fix performance regressions in the node tool and a stupid crash bug
when deleting more than one stretch of selected nodes
(bzr r9061)
Diffstat (limited to 'src/ui/tool/event-utils.h')
| -rw-r--r-- | src/ui/tool/event-utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/tool/event-utils.h b/src/ui/tool/event-utils.h index 74907d61c..784855f56 100644 --- a/src/ui/tool/event-utils.h +++ b/src/ui/tool/event-utils.h @@ -14,6 +14,8 @@ #include <gdk/gdk.h> #include <2geom/point.h> +struct SPCanvas; + namespace Inkscape { namespace UI { @@ -109,7 +111,8 @@ inline bool held_button(E const &event) { } guint shortcut_key(GdkEventKey const &event); -unsigned consume_same_key_events(guint keyval, gint mask); +unsigned combine_key_events(guint keyval, gint mask); +unsigned combine_motion_events(SPCanvas *canvas, GdkEventMotion &event, gint mask); unsigned state_after_event(GdkEvent *event); } // namespace UI |
