xwayland: refactor class member vars (#10312)
* xwayland: refactor class member vars * xwayland: fix pure wayland build
This commit is contained in:
parent
f8bbe5124c
commit
e5df8cdc62
20 changed files with 657 additions and 670 deletions
|
|
@ -19,17 +19,13 @@ class CXWayland {
|
|||
CXWayland(const bool wantsEnabled);
|
||||
|
||||
#ifndef NO_XWAYLAND
|
||||
UP<CXWaylandServer> pServer;
|
||||
UP<CXWM> pWM;
|
||||
UP<CXWaylandServer> m_server;
|
||||
UP<CXWM> m_wm;
|
||||
#endif
|
||||
bool enabled();
|
||||
|
||||
void setCursor(unsigned char* pixData, uint32_t stride, const Vector2D& size, const Vector2D& hotspot);
|
||||
|
||||
struct {
|
||||
CSignal newSurface;
|
||||
} events;
|
||||
|
||||
private:
|
||||
bool m_enabled = false;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue