Set a zero inputmask on the desktop changed OSD.
This way you can click through it and reach windows hidden behind it while the OSD is still there. A patch for the impatient ... svn path=/trunk/KDE/kdebase/workspace/; revision=967869
This commit is contained in:
parent
86cd1fb575
commit
2824491293
1 changed files with 6 additions and 0 deletions
|
@ -18,10 +18,13 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
|
||||
|
||||
#include "desktopchangeosd.h"
|
||||
#include <QTextStream>
|
||||
#include "workspace.h"
|
||||
|
||||
#include <X11/extensions/shape.h>
|
||||
|
||||
#include <QHash>
|
||||
#include <QGraphicsScene>
|
||||
#include <QRect>
|
||||
|
@ -191,6 +194,9 @@ void DesktopChangeOSD::desktopChanged( int old )
|
|||
show();
|
||||
raise();
|
||||
}
|
||||
// Set a zero inputmask, effectively making clicks go "through" the popup
|
||||
// For those who impatiently wait to click on a dialog behind the it
|
||||
XShapeCombineRectangles( display(), winId(), ShapeInput, 0, 0, NULL, 0, ShapeSet, Unsorted );
|
||||
m_delayedHideTimer.start( m_delayTime );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue