Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/windowed/x11windowed_output.h
Show All 39 Lines | |||||
40 | */ | 40 | */ | ||
41 | class KWIN_EXPORT X11WindowedOutput : public AbstractWaylandOutput | 41 | class KWIN_EXPORT X11WindowedOutput : public AbstractWaylandOutput | ||
42 | { | 42 | { | ||
43 | Q_OBJECT | 43 | Q_OBJECT | ||
44 | public: | 44 | public: | ||
45 | explicit X11WindowedOutput(X11WindowedBackend *backend); | 45 | explicit X11WindowedOutput(X11WindowedBackend *backend); | ||
46 | ~X11WindowedOutput() override; | 46 | ~X11WindowedOutput() override; | ||
47 | 47 | | |||
48 | void init(); | 48 | void init(const QPoint &logicalPosition, const QSize &pixelSize); | ||
49 | 49 | | |||
50 | xcb_window_t window() const { | 50 | xcb_window_t window() const { | ||
51 | return m_window; | 51 | return m_window; | ||
52 | } | 52 | } | ||
53 | 53 | | |||
54 | QPoint internalPosition() const; | 54 | QPoint internalPosition() const; | ||
55 | QPoint hostPosition() const { | 55 | QPoint hostPosition() const { | ||
56 | return m_hostPosition; | 56 | return m_hostPosition; | ||
Show All 29 Lines |