Changeset View
Changeset View
Standalone View
Standalone View
shell_client.cpp
Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Line(s) | 363 | if (!m_internal) { | |||
---|---|---|---|---|---|
367 | updateWindowRules(Rules::All); // Was blocked while !isManaged() | 367 | updateWindowRules(Rules::All); // Was blocked while !isManaged() | ||
368 | } | 368 | } | ||
369 | } | 369 | } | ||
370 | 370 | | |||
371 | void ShellClient::finishInit() { | 371 | void ShellClient::finishInit() { | ||
372 | SurfaceInterface *s = surface(); | 372 | SurfaceInterface *s = surface(); | ||
373 | disconnect(s, &SurfaceInterface::committed, this, &ShellClient::finishInit); | 373 | disconnect(s, &SurfaceInterface::committed, this, &ShellClient::finishInit); | ||
374 | 374 | | |||
375 | if (m_xdgShellPopup) { | 375 | if (!isInitialPositionSet()) { | ||
376 | QRect area = workspace()->clientArea(PlacementArea, Screens::self()->current(), desktop()); | 376 | QRect area = workspace()->clientArea(PlacementArea, Screens::self()->current(), desktop()); | ||
377 | placeIn(area); | 377 | placeIn(area); | ||
378 | } | 378 | } | ||
379 | 379 | | |||
380 | m_requestGeometryBlockCounter--; | 380 | m_requestGeometryBlockCounter--; | ||
381 | if (m_requestGeometryBlockCounter == 0) { | 381 | if (m_requestGeometryBlockCounter == 0) { | ||
382 | requestGeometry(m_blockedRequestGeometry); | 382 | requestGeometry(m_blockedRequestGeometry); | ||
383 | } | 383 | } | ||
▲ Show 20 Lines • Show All 1491 Lines • Show Last 20 Lines |