Changeset View
Changeset View
Standalone View
Standalone View
manage.cpp
Show First 20 Lines • Show All 313 Lines • ▼ Show 20 Line(s) | 313 | else | |||
---|---|---|---|---|---|
314 | usePosition = true; | 314 | usePosition = true; | ||
315 | if (!rules()->checkIgnoreGeometry(!usePosition, true)) { | 315 | if (!rules()->checkIgnoreGeometry(!usePosition, true)) { | ||
316 | if (m_geometryHints.hasPosition()) { | 316 | if (m_geometryHints.hasPosition()) { | ||
317 | placementDone = true; | 317 | placementDone = true; | ||
318 | // Disobey xinerama placement option for now (#70943) | 318 | // Disobey xinerama placement option for now (#70943) | ||
319 | area = workspace()->clientArea(PlacementArea, geom.center(), desktop()); | 319 | area = workspace()->clientArea(PlacementArea, geom.center(), desktop()); | ||
320 | } | 320 | } | ||
321 | } | 321 | } | ||
322 | //if ( true ) // Size is always obeyed for now, only with constraints applied | | |||
323 | // if (( xSizeHint.flags & USSize ) || ( xSizeHint.flags & PSize )) | | |||
324 | // { | | |||
325 | // // Keep in mind that we now actually have a size :-) | | |||
326 | // } | | |||
327 | 322 | | |||
328 | if (m_geometryHints.hasMaxSize()) | 323 | if (m_geometryHints.hasMaxSize()) | ||
329 | geom.setSize(geom.size().boundedTo( | 324 | geom.setSize(geom.size().boundedTo( | ||
330 | rules()->checkMaxSize(m_geometryHints.maxSize()))); | 325 | rules()->checkMaxSize(m_geometryHints.maxSize()))); | ||
331 | if (m_geometryHints.hasMinSize()) | 326 | if (m_geometryHints.hasMinSize()) | ||
332 | geom.setSize(geom.size().expandedTo( | 327 | geom.setSize(geom.size().expandedTo( | ||
333 | rules()->checkMinSize(m_geometryHints.minSize()))); | 328 | rules()->checkMinSize(m_geometryHints.minSize()))); | ||
334 | 329 | | |||
▲ Show 20 Lines • Show All 360 Lines • Show Last 20 Lines |