Home
last modified time | relevance | path

Searched refs:max_aspect_h (Results 1 – 1 of 1) sorted by relevance

/dports/x11-wm/plasma5-kwin/kwin-5.23.5/src/
H A Dx11client.cpp3497 double max_aspect_h = m_geometryHints.maxAspect().height(); in constrainClientSize() local
3529 if ( max_aspect_w * h < max_aspect_h * w ) \ in constrainClientSize()
3531 int delta = int( w * max_aspect_h / max_aspect_w - h ) / height_inc * height_inc; \ in constrainClientSize()
3536 if ( max_aspect_w * h < max_aspect_h * w ) \ in constrainClientSize()
3538 int delta = int( w - max_aspect_w * h / max_aspect_h ) / width_inc * width_inc; \ in constrainClientSize()
3543 int delta = int( w * max_aspect_h / max_aspect_w - h ) / height_inc * height_inc; \ in constrainClientSize()