xdgshell: damage old popup coords after a reposition

fixes #3038. I updated the shell ver without properly supporting .reposition
This commit is contained in:
vaxerski
2023-08-21 01:15:00 +02:00
parent 025c023e4b
commit 63b2189ce8
3 changed files with 33 additions and 3 deletions

View File

@@ -191,10 +191,14 @@ struct SXDGPopup {
DYNLISTENER(mapPopupXDG);
DYNLISTENER(unmapPopupXDG);
DYNLISTENER(commitPopupXDG);
DYNLISTENER(repositionPopupXDG);
double lx;
double ly;
Vector2D lastPos = {};
bool repositionRequested = false;
SSurfaceTreeNode* pSurfaceTree = nullptr;
// For the list lookup
@@ -242,8 +246,9 @@ struct STablet {
std::string name = "";
bool operator==(const STablet& b) const {
return wlrDevice == b.wlrDevice;
//
bool operator==(const STablet& b) const {
return wlrDevice == b.wlrDevice;
}
};