https://bugs.kde.org/show_bug.cgi?id=378463

Henrik Fehlauer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |[email protected]
     Ever confirmed|0                           |1

--- Comment #2 from Henrik Fehlauer <[email protected]> ---
Hi Roman,
good to see you here, didn't know you already picked a bug when I wrote my
comment in D10683 ;)

I think skaumo got a great idea and it makes sense to implement this feature.
(Some ideas in Bugzilla are not so great, so in the future just ask before
starting on something, e.g. by opening a task for discussion on
https://phabricator.kde.org/project/view/78/).

> one way to get active window's title is to use xdotool
In general calling external binaries is not the best idea. Could you try to
find a C/C++ API for this, e.g. similar to what Spectacle is doing in
"src/PlatformBackends/" to get to the image of the screen?

I think there must be a way, because e.g. KWin and Plasma's taskbar can show
the window title too. Perhaps ask on IRC for tips (but keep in mind that
Spectacle must work in a non-Plasma environment too).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to