Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 295 Lines • ▼ Show 20 Line(s) | 295 | if (!c->isInternal()) { | |||
---|---|---|---|---|---|
296 | QRect area = clientArea(PlacementArea, Screens::self()->current(), c->desktop()); | 296 | QRect area = clientArea(PlacementArea, Screens::self()->current(), c->desktop()); | ||
297 | bool placementDone = false; | 297 | bool placementDone = false; | ||
298 | if (c->isInitialPositionSet()) { | 298 | if (c->isInitialPositionSet()) { | ||
299 | placementDone = true; | 299 | placementDone = true; | ||
300 | } | 300 | } | ||
301 | if (c->isFullScreen()) { | 301 | if (c->isFullScreen()) { | ||
302 | placementDone = true; | 302 | placementDone = true; | ||
303 | } | 303 | } | ||
304 | if (c->maximizeMode() == MaximizeMode::MaximizeFull) { | ||||
305 | placementDone = true; | ||||
306 | } | ||||
304 | if (c->rules()->checkPosition(invalidPoint, true) != invalidPoint) { | 307 | if (c->rules()->checkPosition(invalidPoint, true) != invalidPoint) { | ||
305 | placementDone = true; | 308 | placementDone = true; | ||
306 | } | 309 | } | ||
307 | if (!placementDone) { | 310 | if (!placementDone) { | ||
308 | c->placeIn(area); | 311 | c->placeIn(area); | ||
309 | } | 312 | } | ||
310 | m_allClients.append(c); | 313 | m_allClients.append(c); | ||
311 | if (!unconstrained_stacking_order.contains(c)) | 314 | if (!unconstrained_stacking_order.contains(c)) | ||
▲ Show 20 Lines • Show All 1465 Lines • Show Last 20 Lines |