X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_stroke.cpp;h=158881daf305c3ba8b37f0b2506d795863a09f87;hb=ab058f0ef6558002cc82022cc9d91d1cf5e8a88f;hp=fc16a320e9a6a76a37bb69d5f50e3ba22779b37b;hpb=fac9dc0a044a6529e474a325332ba17502d6e7b2;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_stroke.cpp b/synfig-studio/trunk/src/gtkmm/state_stroke.cpp index fc16a32..158881d 100644 --- a/synfig-studio/trunk/src/gtkmm/state_stroke.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_stroke.cpp @@ -173,11 +173,6 @@ StateStroke_Context::event_mouse_up_handler(const Smach::event& x) throw Smach::pop_exception(); } - case BUTTON_RIGHT: // Intercept the right-button click to short-circuit the pop-up menu - printf("%s:%d BUTTON_RIGHT\n", __FILE__, __LINE__); - if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS")) - return Smach::RESULT_ACCEPT; - default: return Smach::RESULT_OK; } @@ -197,11 +192,6 @@ StateStroke_Context::event_mouse_draw_handler(const Smach::event& x) return Smach::RESULT_ACCEPT; } - case BUTTON_RIGHT: // Intercept the right-button click to short-circuit the pop-up menu - printf("%s:%d BUTTON_RIGHT\n", __FILE__, __LINE__); - if (!getenv("SYNFIG_ENABLE_POPUP_MENU_IN_ALL_TOOLS")) - return Smach::RESULT_ACCEPT; - default: return Smach::RESULT_OK; }