This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Close window when lose focus

Tags: None
(comma "," separated)
vmlakar
Registered Member
Posts
2
Karma
0

Close window when lose focus

Mon Sep 07, 2015 2:08 pm
Hi!!!

How can I close window when they lose focus? I need this for closing KDE IM Contacts window immediately after they lose focus.


Mlaky
mgraesslin
KDE Developer
Posts
572
Karma
7
OS

Re: Close window when lose focus

Mon Sep 07, 2015 2:18 pm
best solution is to implement a KWin script. It allows you to check whether the window lost focus, is the window you want and you can close it from the script. Documentation on https://techbase.kde.org/Development/Tu ... ng/API_4.9


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]