Skip to content

Commit

Permalink
Don't move background and docks
Browse files Browse the repository at this point in the history
  • Loading branch information
darkstego committed Sep 30, 2021
1 parent 1d2bee3 commit 4e544e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contents/code/mudeer.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function adjustGeometry(geometry,x,xSlots,xSize) {
// main function called
function move(workspace,xSlots,x,xSize, yPos) {
var client = workspace.activeClient
if (client.specialWindow) return
var area = workspace.clientArea(KWin.MaximizeArea, client)
// Adjust for yPos (0:Full Height, 1: Top, 2: Bottom)
var y = 0
Expand All @@ -63,6 +64,7 @@ function move(workspace,xSlots,x,xSize, yPos) {
// remainder: true then window will fill remaining space while respecting panel
function fullscreen(workspace, side, remainder=false) {
let client = workspace.activeClient
if (client.specialWindow) return
let maxArea = workspace.clientArea(KWin.MaximizeArea, client)
let fullArea = workspace.clientArea(KWin.FullScreenArea, client)
var geometry= {x:fullArea.x,y:fullArea.y,width:fullArea.width,height:fullArea.height}
Expand Down

0 comments on commit 4e544e6

Please sign in to comment.