13
0

all Drag objects use an RAII object to block binding activation while they exist

This commit is contained in:
Paul Davis 2022-04-18 12:22:56 -06:00
parent aee3cf1534
commit e02a96ec6b

View File

@ -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;