forked from Leak_Technologies/VideoTools
Handle gdk window retrieval without boolean conversion
This commit is contained in:
parent
e3305ce80c
commit
bab96baee8
|
|
@ -73,7 +73,8 @@ func newPane() *pane {
|
|||
return
|
||||
}
|
||||
p.mpv = mpv
|
||||
if w, ok := da.GetWindow(); ok && w != nil {
|
||||
w, ok := da.GetWindow()
|
||||
if ok && w != nil {
|
||||
if xid := getWindowID(w); xid != 0 {
|
||||
_ = mpv.SetWID(xid)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user