Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/x11/windowed/x11windowed_backend.h
Show First 20 Lines • Show All 85 Lines • ▼ Show 20 Line(s) | 75 | private: | |||
---|---|---|---|---|---|
86 | 86 | | |||
87 | xcb_connection_t *m_connection = nullptr; | 87 | xcb_connection_t *m_connection = nullptr; | ||
88 | xcb_screen_t *m_screen = nullptr; | 88 | xcb_screen_t *m_screen = nullptr; | ||
89 | xcb_key_symbols_t *m_keySymbols = nullptr; | 89 | xcb_key_symbols_t *m_keySymbols = nullptr; | ||
90 | int m_screenNumber = 0; | 90 | int m_screenNumber = 0; | ||
91 | struct Output { | 91 | struct Output { | ||
92 | xcb_window_t window = XCB_WINDOW_NONE; | 92 | xcb_window_t window = XCB_WINDOW_NONE; | ||
93 | QSize size; | 93 | QSize size; | ||
94 | qreal scale = 1; | ||||
94 | QPoint xPosition; | 95 | QPoint xPosition; | ||
95 | QPoint internalPosition; | 96 | QPoint internalPosition; | ||
96 | NETWinInfo *winInfo = nullptr; | 97 | NETWinInfo *winInfo = nullptr; | ||
97 | }; | 98 | }; | ||
98 | QVector<Output> m_windows; | 99 | QVector<Output> m_windows; | ||
99 | xcb_atom_t m_protocols = XCB_ATOM_NONE; | 100 | xcb_atom_t m_protocols = XCB_ATOM_NONE; | ||
100 | xcb_atom_t m_deleteWindowProtocol = XCB_ATOM_NONE; | 101 | xcb_atom_t m_deleteWindowProtocol = XCB_ATOM_NONE; | ||
101 | xcb_cursor_t m_cursor = XCB_CURSOR_NONE; | 102 | xcb_cursor_t m_cursor = XCB_CURSOR_NONE; | ||
102 | Display *m_display = nullptr; | 103 | Display *m_display = nullptr; | ||
103 | bool m_keyboardGrabbed = false; | 104 | bool m_keyboardGrabbed = false; | ||
104 | }; | 105 | }; | ||
105 | 106 | | |||
106 | } | 107 | } | ||
107 | 108 | | |||
108 | #endif | 109 | #endif |