input: handle mouse on decorations (#3560)
This commit is contained in:
parent
7a5234a0cc
commit
9abfa9efc6
10 changed files with 165 additions and 65 deletions
|
|
@ -35,6 +35,12 @@ class CHyprGroupBarDecoration : public IHyprWindowDecoration {
|
|||
|
||||
virtual bool allowsInput();
|
||||
|
||||
virtual void onBeginWindowDragOnDeco(const Vector2D&);
|
||||
|
||||
virtual bool onEndWindowDragOnDeco(CWindow* pDraggedWindow, const Vector2D&);
|
||||
|
||||
virtual void onMouseButtonOnDeco(const Vector2D&, wlr_pointer_button_event*);
|
||||
|
||||
private:
|
||||
SWindowDecorationExtents m_seExtents;
|
||||
|
||||
|
|
@ -45,6 +51,8 @@ class CHyprGroupBarDecoration : public IHyprWindowDecoration {
|
|||
|
||||
std::deque<CWindow*> m_dwGroupMembers;
|
||||
|
||||
float m_fBarWidth;
|
||||
|
||||
CTitleTex* textureFromTitle(const std::string&);
|
||||
void invalidateTextures();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue