Commit 32d1f3ee authored by Laurent Montel's avatar Laurent Montel

Use convert-qdisplay script

svn path=/trunk/KDE/kdemultimedia/juk/; revision=455912
parent 9c47d3f5
......@@ -35,6 +35,7 @@
#include <qpalette.h>
#include <netwm.h>
#include <QX11Info>
#include "tag.h"
#include "systemtray.h"
......@@ -412,7 +413,7 @@ bool SystemTray::buttonsToLeft() const
{
// The following code was nicked from kpassivepopup.cpp
NETWinInfo ni(qt_xdisplay(), winId(), qt_xrootwin(),
NETWinInfo ni(QX11Info::display(), winId(), QX11Info::appRootWindow(),
NET::WMIconGeometry | NET::WMKDESystemTrayWinFor);
NETRect frame, win;
ni.kdeGeometry(frame, win);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment