neko/server/internal/desktop/xevent.go

27 lines
713 B
Go
Raw Normal View History

2022-09-16 09:55:30 +12:00
package desktop
2023-01-22 11:43:04 +13:00
import (
"m1k1o/neko/internal/desktop/xevent"
"m1k1o/neko/internal/types"
)
2022-09-16 09:55:30 +12:00
2023-01-29 10:08:36 +13:00
func (manager *DesktopManagerCtx) GetCursorChangedChannel() chan uint64 {
2023-01-22 11:43:04 +13:00
return xevent.CursorChangedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-29 10:08:36 +13:00
func (manager *DesktopManagerCtx) GetClipboardUpdatedChannel() chan bool {
2023-01-22 11:43:04 +13:00
return xevent.ClipboardUpdatedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-29 10:08:36 +13:00
func (manager *DesktopManagerCtx) GetFileChooserDialogOpenedChannel() chan bool {
2023-01-22 11:43:04 +13:00
return xevent.FileChooserDialogOpenedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-29 10:08:36 +13:00
func (manager *DesktopManagerCtx) GetFileChooserDialogClosedChannel() chan bool {
2023-01-22 11:43:04 +13:00
return xevent.FileChooserDialogClosedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-29 10:08:36 +13:00
func (manager *DesktopManagerCtx) GetEventErrorChannel() chan types.DesktopErrorMessage {
2023-01-22 11:43:04 +13:00
return xevent.EventErrorChannel
2022-09-16 09:55:30 +12:00
}