neko/server/internal/desktop/xevent.go

27 lines
723 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-22 11:43:04 +13:00
func (manager *DesktopManagerCtx) GetCursorChangedChannel() (chan uint64) {
return xevent.CursorChangedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-22 11:43:04 +13:00
func (manager *DesktopManagerCtx) GetClipboardUpdatedChannel() (chan bool) {
return xevent.ClipboardUpdatedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-22 11:43:04 +13:00
func (manager *DesktopManagerCtx) GetFileChooserDialogOpenedChannel() (chan bool) {
return xevent.FileChooserDialogOpenedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-22 11:43:04 +13:00
func (manager *DesktopManagerCtx) GetFileChooserDialogClosedChannel() (chan bool) {
return xevent.FileChooserDialogClosedChannel
2022-09-16 09:55:30 +12:00
}
2023-01-22 11:43:04 +13:00
func (manager *DesktopManagerCtx) GetEventErrorChannel() (chan types.DesktopErrorMessage) {
return xevent.EventErrorChannel
2022-09-16 09:55:30 +12:00
}