D29486: xdgshellclient: Allow menus from panels to take focus
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
zzag requested changes to this revision. zzag added a comment. This revision now requires changes to proceed. A QMenu can be backed either by an xdg_toplevel or xdg_popup. If it's backed by an xdg_toplevel, kwin will activate the menu when it's mapped. If the QMenu is backed by an xdg_popup, the keyboard focus must be on the topmost grabbing popup. The problem is that popup grabs from the xdg-shell spec aren't implemented in kwayland-server. :/ We probably don't want to work around kwayland-server's incomplete implementation of the xdg-shell protocol in kwin. REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D29486 To: cblack, #kwin, zzag Cc: 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