forked from Leak_Technologies/VideoTools
Fix Gtk window checks for mpv embed
This commit is contained in:
parent
08e0da1d45
commit
e3305ce80c
|
|
@ -220,6 +220,6 @@ func getWindowID(w *gdk.Window) uint64 {
|
|||
// gdkWindowGetXID extracts the XID from a GDK window when running on X11.
|
||||
func gdkWindowGetXID(w *gdk.Window) uint {
|
||||
// gotk3 provides this method on GDK windows under X11
|
||||
return w.GetXID()
|
||||
return uint(w.GetXID())
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user