Changeset View
Changeset View
Standalone View
Standalone View
client.cpp
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Line(s) | 134 | { | |||
---|---|---|---|---|---|
154 | 154 | | |||
155 | max_mode = MaximizeRestore; | 155 | max_mode = MaximizeRestore; | ||
156 | 156 | | |||
157 | //Client to workspace connections require that each | 157 | //Client to workspace connections require that each | ||
158 | //client constructed be connected to the workspace wrapper | 158 | //client constructed be connected to the workspace wrapper | ||
159 | 159 | | |||
160 | geom = QRect(0, 0, 100, 100); // So that decorations don't start with size being (0,0) | 160 | geom = QRect(0, 0, 100, 100); // So that decorations don't start with size being (0,0) | ||
161 | client_size = QSize(100, 100); | 161 | client_size = QSize(100, 100); | ||
162 | ready_for_painting = false; // wait for first damage or sync reply | | |||
163 | 162 | | |||
164 | connect(clientMachine(), &ClientMachine::localhostChanged, this, &Client::updateCaption); | 163 | connect(clientMachine(), &ClientMachine::localhostChanged, this, &Client::updateCaption); | ||
165 | connect(options, &Options::condensedTitleChanged, this, &Client::updateCaption); | 164 | connect(options, &Options::condensedTitleChanged, this, &Client::updateCaption); | ||
166 | 165 | | |||
167 | connect(this, &Client::moveResizeCursorChanged, this, [this] (CursorShape cursor) { | 166 | connect(this, &Client::moveResizeCursorChanged, this, [this] (CursorShape cursor) { | ||
168 | xcb_cursor_t nativeCursor = Cursor::x11Cursor(cursor); | 167 | xcb_cursor_t nativeCursor = Cursor::x11Cursor(cursor); | ||
169 | m_frame.defineCursor(nativeCursor); | 168 | m_frame.defineCursor(nativeCursor); | ||
170 | if (m_decoInputExtent.isValid()) | 169 | if (m_decoInputExtent.isValid()) | ||
▲ Show 20 Lines • Show All 1965 Lines • Show Last 20 Lines |