Re: Keystates, implementing a full Plasma on Wayland
Aleix Pol <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <CACcA1RrKu1_wz11-_vddyX+_=_GNzYCVE3dc0c-HVtgyazzt=Q@mail.gmail.com> |
On Tue, Apr 2, 2019 at 1:59 PM Martin Flöser <[email protected]> wrote: > > Hi Aleix, > > I would have approached the problem differently. First of all I don't > think we need any new protocol for transmitting key state. That's > already built into the wl_keyboard protocol. The "problem" with this > protocol is that it only sends events to the focused application, which > makes it not a direct solution for applications like Plasma which need > to show the state all the time. For all other applications it would be > fine. Firefox doesn't need to know the state if it's not focused. It would still be a problem if it gets out of sync, wouldn't it? (i.e. if the state changes while out of focus) I'm not sure why exporting all the data to the process (plasmashell, screenlocker, keyboard kcm thingie) is better than having a simple specific protocol. Aleix