Segmentation fault when running NETRootInfo info(QX11Info::display(), 0)
vatbier
vatbier at yahoo.com
Thu Oct 30 23:55:30 CET 2008
I'm trying to make a program that toggles showdesktop.
I made this from the source code of plasma_applet_showdesktop.so:
NETRootInfo info(QX11Info::display(), 0);
info.setShowingDesktop(true);
But the NetRootInfo constructor gives a segmentation fault.
Can anyone tell me why?
I'm using Mandriva 2009, KDE 4.1.2.
See attachments
vatbier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: myshowdesktop.cpp
Type: text/x-c++src
Size: 292 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081030/fa2532eb/attachment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeLists.txt
Type: text/x-cmake
Size: 401 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081030/fa2532eb/attachment.bin
More information about the Plasma-devel
mailing list