On 04/14/2011 12:40 PM, Aaron J. Seigo wrote:
On Wednesday, April 13, 2011 20:31:01 Andriy Rysin wrote:
well as per top-level windows. So the question is whether there's a way to
tell "active/focused" applet and get notified on switch?
ah, and getting the current view() for the Applet or even c
Well, the keyboard daemon which stores layout per window map has no knowledge
about indicator applets right now and I would like to keep it this way. Also
second approach does not allow to store layout per applet. So I'll play with
QGraphicsScene::focusItem() to see if it's not too ugly.
Thanks
On Wednesday, April 13, 2011 20:31:01 Andriy Rysin wrote:
> well as per top-level windows. So the question is whether there's a way to
> tell "active/focused" applet and get notified on switch?
ah, and getting the current view() for the Applet or even checking the PID
(since the switcher could be
On Wednesday, April 13, 2011 20:31:01 Andriy Rysin wrote:
> So the question is whether there's a way to
> tell "active/focused" applet and get notified on switch?
not currently; well, at least not easily :)
QGraphicsScene does provide QGraphicsItem * QGraphicsScene::focusItem(), and
you could de
Currently the keyboard layout switcher (when in per-Window or per-Application
mode)
ignores the desktop when it becomes the active window. This was done
intentionally so that when keyboard layout applet (on the desktop) is clicked
it would change the current (or technically previous) active wi