mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
plasma: do not query X11 atom twice in Plasma::WindowEffects::highlightWindows()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9cfd8c90ba
commit
acc34bfa9f
1 changed files with 0 additions and 1 deletions
|
@ -252,7 +252,6 @@ void highlightWindows(WId controller, const QList<WId> &ids)
|
|||
Atom atom = XInternAtom(dpy, "_KDE_WINDOW_HIGHLIGHT", False);
|
||||
|
||||
if (numWindows == 0) {
|
||||
Atom atom = XInternAtom(dpy, "_KDE_WINDOW_HIGHLIGHT", False);
|
||||
XDeleteProperty(dpy, controller, atom);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue