Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Dec 14, 2020
1 parent b3fecd4 commit e9f6a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/x11/wm/desk.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ func (x *x11WM) configureRoots() {
xproto.SendEvent(x.x.Conn(), false, x.rootID, xproto.EventMaskStructureNotify, string(notifyEv.Bytes()))

// we need to trigger a move so that the correct scale is picked up
err := xproto.ConfigureWindowChecked(x.x.Conn(), x.rootID, xproto.ConfigWindowX|xproto.ConfigWindowY|
err = xproto.ConfigureWindowChecked(x.x.Conn(), x.rootID, xproto.ConfigWindowX|xproto.ConfigWindowY|
xproto.ConfigWindowWidth|xproto.ConfigWindowHeight,
[]uint32{uint32(screen.X + 1), uint32(screen.Y + 1), uint32(screen.Width - 2), uint32(screen.Height - 2)}).Check()
if err != nil {
Expand Down

0 comments on commit e9f6a9f

Please sign in to comment.