We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e847760 commit e04c0d6Copy full SHA for e04c0d6
contents/code/main.js
@@ -1,5 +1,5 @@
1
/*
2
- * KWin Quick Tile Enhancements
+ * KWin Quick Tile Enhancements 0.2.0
3
* @thetarkus, Mike Mob
4
* https://github.com/thetarkus/kwin-quick-tile-enhancements
5
*/
@@ -372,7 +372,7 @@ function getCenterPoint(client) {
372
373
// Default value at center screen if no grouped clients
374
var halfHeight = workspace._clientArea.height / 2
375
- if (clientGroup.length < 0)
+ if (typeof clientGroup[0] === 'undefined')
376
return [workspace._clientArea.width / 2, halfHeight];
377
378
// Get inner corner point as the center point
0 commit comments