D29702: Autotests: Add a test when relaunching a maximized cliend with BorderlessMaximizedWindows

Vlad Zahorodnii noreply at phabricator.kde.org
Wed May 13 14:40:14 BST 2020


zzag added inline comments.

INLINE COMMENTS

> maximize_test.cpp:259
> +    QCOMPARE(client->requestedMaximizeMode(), MaximizeMode::MaximizeFull);
> +    QCOMPARE(client->size(), QSize(1280, 1024));
> +    QCOMPARE(decoration->mode(), XdgDecoration::Mode::ServerSide);

It's probably better to check the position as well.

QCOMPARE(client->frameGeometry(), QRect(0, 0, 1280, 1024));

REPOSITORY
  R108 KWin

REVISION DETAIL
  https://phabricator.kde.org/D29702

To: meven, #kwin, zzag, davidedmundson
Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200513/7380ef61/attachment-0001.htm>


More information about the kwin mailing list