Skip to content

Commit

Permalink
Disable unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed May 27, 2021
1 parent 642be56 commit c57acc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desktop_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ func (x Xorg) waitForEvent(events chan<- xgb.Event) {
}
}

/*
func (x Xorg) queryIdle() time.Duration {
info, err := screensaver.QueryInfo(x.conn, xproto.Drawable(x.root)).Reply()
if err != nil {
Expand All @@ -265,3 +266,4 @@ func (x Xorg) queryIdle() time.Duration {
}
return time.Duration(info.MsSinceUserInput) * time.Millisecond
}
*/

0 comments on commit c57acc2

Please sign in to comment.