mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 23:48:22 +01:00
all Drag objects use an RAII object to block binding activation while they exist
This commit is contained in:
parent
aee3cf1534
commit
e02a96ec6b
1 changed files with 4 additions and 0 deletions
|
|
@ -37,6 +37,8 @@
|
|||
|
||||
#include "canvas/types.h"
|
||||
|
||||
#include "gtkmm2ext/bindings.h"
|
||||
|
||||
#include "cursor_context.h"
|
||||
#include "editor_items.h"
|
||||
#include "mouse_cursors.h"
|
||||
|
|
@ -332,6 +334,8 @@ private:
|
|||
CursorContext::Handle _cursor_ctx; ///< cursor change context
|
||||
bool _constraint_pressed; ///< if the keyboard indicated constraint modifier was pressed on start_grab()
|
||||
int _grab_button;
|
||||
|
||||
Gtkmm2ext::Bindings::DragsBlockBindings binding_blocker;
|
||||
};
|
||||
|
||||
class RegionDrag;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue