mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 00:39:56 +02:00
xorg refactor.
This commit is contained in:
parent
478984e944
commit
4c1c96b163
15 changed files with 467 additions and 252 deletions
|
@ -14,7 +14,7 @@ type Desktop struct {
|
|||
|
||||
ScreenWidth int
|
||||
ScreenHeight int
|
||||
ScreenRate int
|
||||
ScreenRate int16
|
||||
}
|
||||
|
||||
func (Desktop) Init(cmd *cobra.Command) error {
|
||||
|
@ -45,7 +45,7 @@ func (s *Desktop) Set() {
|
|||
if err1 == nil && err2 == nil && err3 == nil {
|
||||
s.ScreenWidth = int(width)
|
||||
s.ScreenHeight = int(height)
|
||||
s.ScreenRate = int(rate)
|
||||
s.ScreenRate = int16(rate)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue