
Originally Posted by
wysota
What is a "workspaces button"?
When you click it it divides the screen to equal parts. It is done by the system desktop. I found that to get the handler of that I need to use the following header and add lx11 lib.
#ifdef Q_WS_X11 //only define on Qt 4.X
#include <QX11Info> //Only on Qt 4.X , return expected in Qt 5.1
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#ifdef Q_WS_X11 //only define on Qt 4.X
#include <QX11Info> //Only on Qt 4.X , return expected in Qt 5.1
#include <X11/Xlib.h>
#include <X11/Xatom.h>
To copy to clipboard, switch view to plain text mode
Bookmarks