neko/internal/desktop/xevent.go

26 lines
722 B
Go
Raw Normal View History

2021-01-11 03:58:17 +13:00
package desktop
import (
"demodesk/neko/internal/desktop/xevent"
)
func (manager *DesktopManagerCtx) OnCursorChanged(listener func(serial uint64)) {
xevent.OnCursorChanged(listener)
}
2021-01-12 03:30:53 +13:00
func (manager *DesktopManagerCtx) OnClipboardUpdated(listener func()) {
xevent.OnClipboardUpdated(listener)
}
func (manager *DesktopManagerCtx) OnFileChooserDialogOpened(listener func()) {
xevent.OnFileChooserDialogOpened(listener)
2021-01-12 12:09:43 +13:00
}
func (manager *DesktopManagerCtx) OnFileChooserDialogClosed(listener func()) {
xevent.OnFileChooserDialogClosed(listener)
2021-01-19 09:40:57 +13:00
}
2021-01-11 03:58:17 +13:00
func (manager *DesktopManagerCtx) OnEventError(listener func(error_code uint8, message string, request_code uint8, minor_code uint8)) {
xevent.OnEventError(listener)
}