tests: Add an xfail for an affinities bug

This is for #89. They shouldn't be allowed to tab
together since they have different affinities

Minor refactoring in drop area so we can call DropArea::drop()
directly without having to move the mouse, as that's not relevant
for this test.
This commit is contained in:
Sergio Martins
2020-10-01 17:45:53 +01:00
parent c035df7e85
commit 8fb3802343
3 changed files with 51 additions and 3 deletions

View File

@@ -29,7 +29,6 @@ namespace KDDockWidgets {
class Frame;
class Draggable;
class DropIndicatorOverlayInterface;
struct WindowBeingDragged;
/**
@@ -71,6 +70,7 @@ private:
template <typename T>
bool validateAffinity(T *) const;
bool drop(FloatingWindow *droppedWindow, Frame *acceptingFrame, DropIndicatorOverlayInterface::DropLocation);
bool drop(QWidgetOrQuick *droppedwindow, KDDockWidgets::Location location, Frame *relativeTo);
Frame *frameContainingPos(QPoint globalPos) const;
void updateFloatingActions();