2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Updated repo to latest patches-track-wip (TD 5.0.6)

This commit is contained in:
Eric Kotato
2024-08-31 01:38:31 +03:00
824 changed files with 29625 additions and 26992 deletions

View File

@@ -119,7 +119,8 @@ public:
void launchDrag(std::unique_ptr<QMimeData> data, Fn<void()> &&callback);
rpl::producer<> leaveEvents() const;
[[nodiscard]] rpl::producer<> leaveEvents() const;
[[nodiscard]] rpl::producer<> imeCompositionStarts() const;
virtual void updateWindowIcon() = 0;
void updateTitle();
@@ -143,6 +144,10 @@ public:
Core::WindowPosition initial,
QSize minSize) const;
[[nodiscard]] virtual rpl::producer<QPoint> globalForceClicks() {
return rpl::never<QPoint>();
}
protected:
void leaveEventHook(QEvent *e) override;
@@ -185,6 +190,7 @@ protected:
return false;
}
void imeCompositionStartReceived();
void setPositionInited();
virtual QRect computeDesktopRect() const;
@@ -216,6 +222,7 @@ private:
bool _isActive = false;
rpl::event_stream<> _leaveEvents;
rpl::event_stream<> _imeCompositionStartReceived;
bool _maximizedBeforeHide = false;