diff options
author | Ken Moore <ken@pcbsd.org> | 2016-04-28 09:49:13 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-04-28 09:49:13 -0400 |
commit | 1e9b663c06a451b215f6fe47e920ff130f4d963a (patch) | |
tree | 70d29783552f0e42d3ced7fcd95f47556b0095b6 /src-qt5/core/libLumina/LuminaUtils.cpp | |
parent | Add "bool" to the C++ syntax highlighting. (diff) | |
download | lumina-1e9b663c06a451b215f6fe47e920ff130f4d963a.tar.gz lumina-1e9b663c06a451b215f6fe47e920ff130f4d963a.tar.bz2 lumina-1e9b663c06a451b215f6fe47e920ff130f4d963a.zip |
Have lumina listen to the X root window property changes directly - and update the screen numbers/geometries 50ms after the WM changes the _NET_DESKTOP_GEOMETRY or _NET_WORKAREA properties on it. This bypasses a bug in the QDesktopWidget class where it might not send out the changed() signals when something really did change (noticed this in virtualbox instances in particular).
Diffstat (limited to 'src-qt5/core/libLumina/LuminaUtils.cpp')
-rw-r--r-- | src-qt5/core/libLumina/LuminaUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/libLumina/LuminaUtils.cpp b/src-qt5/core/libLumina/LuminaUtils.cpp index fa38d6df..f429cb31 100644 --- a/src-qt5/core/libLumina/LuminaUtils.cpp +++ b/src-qt5/core/libLumina/LuminaUtils.cpp @@ -899,7 +899,7 @@ ResizeMenu::ResizeMenu(QWidget *parent) : QMenu(parent){ contents = 0; connect(this, SIGNAL(aboutToShow()), this, SLOT(clearFlags()) ); connect(this, SIGNAL(aboutToHide()), this, SLOT(clearFlags()) ); - connect(cAct, SIGNAL(hovered()), this, SLOT(actionHovered()) ); + connect(cAct, SIGNAL(hovered()), this, SLOT(clearFlags()) ); } ResizeMenu::~ResizeMenu(){ |