desktop single mutex shared gtk.

This commit is contained in:
Miroslav Šedivý
2021-01-08 22:03:50 +01:00
parent d3340ad085
commit a6afccd079
3 changed files with 6 additions and 4 deletions

View File

@ -3,6 +3,7 @@ package desktop
import (
"fmt"
"time"
"sync"
"github.com/kataras/go-events"
"github.com/rs/zerolog"
@ -12,6 +13,8 @@ import (
"demodesk/neko/internal/desktop/xorg"
)
var mu = sync.Mutex{}
type DesktopManagerCtx struct {
logger zerolog.Logger
cleanup *time.Ticker