activate single windows directly in !compositing

--meaning to not activate the previews window in that
case. Single windows should be activated immediately
after left click, previews are not necessary in that
case.

FIXED-IN:0.9.2
pull/8/head
Michail Vourlakos 5 years ago
parent 1c4f5906fd
commit 4139948d11

@ -844,10 +844,9 @@ MouseArea{
} else if (mouse.button == Qt.LeftButton){
if( !taskItem.isLauncher ){
if ( (root.leftClickAction === Latte.Types.PreviewWindows && isGroupParent)
|| (Latte.WindowSystem.isPlatformWayland
|| ( (Latte.WindowSystem.isPlatformWayland || !Latte.WindowSystem.compositingActive)
&& root.leftClickAction === Latte.Types.PresentWindows
&& isGroupParent)
|| !Latte.WindowSystem.compositingActive) {
&& isGroupParent) ) {
if(windowsPreviewDlg.activeItem !== taskItem){
showPreviewWindow();
} else {

Loading…
Cancel
Save