[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Focus handling
From:       Petri =?utf-8?q?Damst=C3=A9n?= <petri.damsten () gmail ! com>
Date:       2008-04-28 6:51:31
Message-ID: 200804280951.31315.petri.damsten () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 27 April 2008 23:05:58 Aaron J. Seigo wrote:
> On Sunday 27 April 2008, Petri Damstén wrote:
> > shows just the dialog. When selecting text from there
>
> "from there" == "from the applet on the desktop"?

Yes, it's Plasma::Dialog sitting on the desktop.

> > it moves focus to
> > desktop(?) and text is not pasted to right place.
>
> where is it pasted to exactly?

The idea I had is similar to text snippets in kdevelop/kate but for any 
application so it tries to paste to a application that has a focus. It does 
this by copying text to clipboard and then sending Ctrl+V using XKeyEvent. 
Not bullet proof but works for most of the apps (had similar shell script 
thingie in the past called from K-menu).

Petri


["signature.asc" (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic