Complete implementation of auto-show/hide an item in OBS on mouse-focus in XServer

This commit is contained in:
Dmitrii Okunev
2024-10-18 17:28:35 +01:00
parent 38bba4bbd1
commit f390abc6e2
25 changed files with 944 additions and 750 deletions

View File

@@ -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
}