D29486: xdgshellclient: Allow menus from panels to take focus

Anthony Fieroni <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
anthonyfieroni added inline comments.

INLINE COMMENTS

> xdgshellclient.cpp:1015-1021
> +    if (isPopupMenu() || isPopupWindow()) {
> +        auto possiblyAPanel = qobject_cast<const XdgShellClient*>(transientFor());
> +        if (possiblyAPanel && possiblyAPanel->m_plasmaShellSurface) {
> +            return true;
> +        }
> +        return false;
> +    }

Should be just

  if (m_xdgShellPopup) {
      return true;
  }

?

REPOSITORY
  R108 KWin

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

To: cblack, #kwin, zzag
Cc: anthonyfieroni, zzag, davidedmundson, 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.