Make emote popup remember last position (#1580)
* Use existing moveTo to ensure window stay within desktop geometry
This commit is contained in:
@@ -51,6 +51,9 @@ public:
|
||||
int windowCount();
|
||||
Window *windowAt(int index);
|
||||
|
||||
QPoint emotePopupPos();
|
||||
void setEmotePopupPos(QPoint pos);
|
||||
|
||||
virtual void initialize(Settings &settings, Paths &paths) override;
|
||||
virtual void save() override;
|
||||
void closeAll();
|
||||
@@ -89,6 +92,8 @@ private:
|
||||
|
||||
bool initialized_ = false;
|
||||
|
||||
QPoint emotePopupPos_;
|
||||
|
||||
std::atomic<int> generation_{0};
|
||||
|
||||
std::vector<Window *> windows_;
|
||||
|
||||
Reference in New Issue
Block a user