Skip to content

Commit fdc3f58

Browse files
committed
Remove unnecessary window attribute
1 parent ca93ffa commit fdc3f58

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/widget.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,9 @@ class Widget {
220220

221221
const QRect rect(info.X - padding, info.Y - padding, info.Width + 2 * padding, info.Height + 2 * padding);
222222
inputRegion += rect;
223-
WSS_DEBUG("Setting clickable region '{}' for monitor ID {}: ({}, {}, {}, {})", name, monitorId, info.X - padding,
224-
info.Y - padding, info.Width + 2 * padding, info.Height + 2 * padding);
225223
}
226224

227225
window->setMask(inputRegion);
228-
window->setAttribute(Qt::WA_TransparentForMouseEvents, true);
229226
window->update();
230227
#endif
231228
} else {

0 commit comments

Comments
 (0)