Request ignores changes to properties that don't apply to it
This commit is contained in:
parent
f4fadc0d3b
commit
e15687c71e
@ -255,6 +255,10 @@ func (request *Request) HandlePropertyNotify (
|
||||
connection *xgbutil.XUtil,
|
||||
event xevent.PropertyNotifyEvent,
|
||||
) {
|
||||
// ignore events that don't apply to our window's destination property
|
||||
if event.Window != request.requestor.Window().Id { return }
|
||||
if event.Atom != request.destination { return }
|
||||
|
||||
// the only valid state that we can process a PropertyNotify event in
|
||||
if request.state != selReqStateAwaitChunk { return }
|
||||
if event.State != xproto.PropertyNewValue { return }
|
||||
|
Loading…
Reference in New Issue
Block a user