D18956: Handle sizes in ShellClient::transientPlacement
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson created this revision. Herald added a project: KWin. Herald added a subscriber: kwin. davidedmundson requested review of this revision. REVISION SUMMARY placeIn did not handle the case for a popup not having had the size already set and only being available via m_xdgShellPopup->initialSize(). This is needed if we want to call placeIn at the correct time, before the window is mapped. There was also a logic bug when sliding popups. We called the confusingly named setX thinking it would be move the popup keeping the width the same. In practice it moves the left edge keeping the right position the same. This wasn't an issue as the size was discarded. Handling the resize constraint is not yet done, but it should now be even more trivial. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D18956 AFFECTED FILES placement.cpp shell_client.cpp shell_client.h To: davidedmundson Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart