summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb4f4bf)
raw | patch | inline | side by side (parent: cb4f4bf)
author | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 27 Jan 2009 16:38:37 +0000 (16:38 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Tue, 27 Jan 2009 16:38:37 +0000 (16:38 +0000) |
src/desktop-events.cpp | patch | blob | history |
diff --git a/src/desktop-events.cpp b/src/desktop-events.cpp
index 6cf1dde1ab10f248e419bf755c7a91c5a03819fc..46fb00cca773cf27eeaac5f3b4df20ceb32d5e98 100644 (file)
--- a/src/desktop-events.cpp
+++ b/src/desktop-events.cpp
// the click was on the guide 'anchor'
drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_MOVE_ORIGIN : SP_DRAG_TRANSLATE;
} else {
- drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_TRANSLATE : SP_DRAG_ROTATE;
+ drag_type = (event->button.state & GDK_SHIFT_MASK) ? SP_DRAG_ROTATE : SP_DRAG_TRANSLATE;
sp_canvas_item_grab(item,
( GDK_BUTTON_RELEASE_MASK |
GDK_BUTTON_PRESS_MASK |