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-30 05:51:39 +13:00
|
|
|
func (manager *DesktopManagerCtx) GetClipboardUpdatedChannel() chan struct{} {
|
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) GetEventErrorChannel() chan types.DesktopErrorMessage {
|
2023-01-22 11:43:04 +13:00
|
|
|
return xevent.EventErrorChannel
|
2022-09-16 09:55:30 +12:00
|
|
|
}
|