Part of the problem description is incorrect. It does have a local definition: MirMotionAction
And a while ago "action" was defined as a MirMotionAction. However for compatibility reasons only racarr changed it to an int. You can still use MirMotionAction so long as you remember the compatibility hack like in examples/demo-shell/window_manager.cpp:
Part of the problem description is incorrect. It does have a local definition: MirMotionAction
And a while ago "action" was defined as a MirMotionAction. However for compatibility reasons only racarr changed it to an int. You can still use MirMotionAction so long as you remember the compatibility hack like in examples/ demo-shell/ window_ manager. cpp:
// FIXME: https:/ /bugs.launchpad .net/mir/ +bug/1197108
MirMotionActio n action = static_ cast<MirMotionA ction>( event.motion. action & ~0xff00);
But obviously we need to retire such hacks. So it's a bug.