Commit 66dcbf60 authored by Stefan Yohansson Areeira Pinto's avatar Stefan Yohansson Areeira Pinto
Browse files

current desktop change signal is only emitted when desktop changed.

parent 758ee761
......@@ -806,12 +806,6 @@ void Amor::slotWindowChange(WId win, NET::Properties properties, NET::Properties
void Amor::slotDesktopChange(int desktop)
// GP: signal currentDesktopChanged seems to be emitted even if you
// change to the very same desktop you are in.
if( mWin->currentDesktop() == desktop ) {
mNextTarget = XCB_NONE;
mTargetWin = XCB_NONE;
selectAnimation( Normal );
Supports Markdown
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