mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-10-12 19:00:36 +08:00
Complete implementation of auto-show/hide an item in OBS on mouse-focus in XServer
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
)
|
||||
|
||||
type WindowManagerHandler struct {
|
||||
*PlatformSpecificWindowManagerHandler
|
||||
PlatformSpecificWindowManagerHandler
|
||||
}
|
||||
|
||||
func New() (*WindowManagerHandler, error) {
|
||||
@@ -22,6 +22,9 @@ func (wmh *WindowManagerHandler) WindowFocusChangeChan(ctx context.Context) <-ch
|
||||
}
|
||||
|
||||
type WindowFocusChange struct {
|
||||
WindowID WindowID
|
||||
WindowTitle string
|
||||
WindowID *WindowID
|
||||
WindowTitle *string
|
||||
ProcessID *PID
|
||||
UserID *UID
|
||||
ProcessName *string
|
||||
}
|
||||
|
Reference in New Issue
Block a user