X backend generates mime type from owner response
This commit is contained in:
parent
39dc09bc4a
commit
ab61615018
@ -22,7 +22,6 @@ type selectionRequest struct {
|
|||||||
source xproto.Atom
|
source xproto.Atom
|
||||||
destination xproto.Atom
|
destination xproto.Atom
|
||||||
accept []data.Mime
|
accept []data.Mime
|
||||||
mime data.Mime
|
|
||||||
callback func (data.Data, error)
|
callback func (data.Data, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,8 +152,6 @@ func (request *selectionRequest) handleSelectionNotify (
|
|||||||
// data.
|
// data.
|
||||||
if event.Property == 0 { request.die(nil); return }
|
if event.Property == 0 { request.die(nil); return }
|
||||||
|
|
||||||
// TODO: handle INCR
|
|
||||||
|
|
||||||
// When using GetProperty to retrieve the value of a selection, the
|
// When using GetProperty to retrieve the value of a selection, the
|
||||||
// property argument should be set to the corresponding value in the
|
// property argument should be set to the corresponding value in the
|
||||||
// SelectionNotify event. Because the requestor has no way of knowing
|
// SelectionNotify event. Because the requestor has no way of knowing
|
||||||