D23142: Remove custom menu positioning code

Vlad Zagorodniy noreply at phabricator.kde.org
Wed Aug 14 10:42:12 BST 2019


zzag accepted this revision.
zzag added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> useractions.cpp:164
>      if (kwinApp()->shouldUseWaylandForCompositing()) {
>          m_menu->popup(QPoint(x, y));
>      } else {

This can be simplified to m_menu->popup(pos.bottomLeft());

REPOSITORY
  R108 KWin

BRANCH
  master

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

To: gladhorn, #kwin, zzag
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190814/27dd6c8e/attachment.html>


More information about the kwin mailing list