D17544: virtualkeyboard: report the size of the inputwindow
Marco Martin <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
mart added inline comments. INLINE COMMENTS > graesslin wrote in virtualkeyboard.cpp:248 > Sorry, but this still doesn't work. You are thinking in windows, but these are surfaces. The surface you have could be a sub-surface. You need to map from global space to surface space. IIRC we have a matrix to transform this. See for example: https://api.kde.org/frameworks/kwayland/html/classKWayland_1_1Server_1_1SeatInterface.html#a56910bce41378def01ee27a6e8b8c6fe > > But this is for text input surface, not pointer. The pointer surface might be a different to the text input. It might mean we have to add new API to KWayland. tough if i cannot base on a window for it, is there a singal anywhere in surfaceinterface on how i can take the geometry and most important listen to geometry changes? i can't find anything about it REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D17544 To: mart, #plasma, #kwin, bshah, graesslin Cc: graesslin, davidedmundson, kwin, mart, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol