X backend clipboard properly negotiates data type with owner
The clipboard API has been changed to allow an application to accept a number of different mime types, and the X backend will now check the accepted types list against the owner's TARGETS list and choose the best one.
This commit is contained in:
parent
0aede3502b
commit
39dc09bc4a
@ -1,6 +1,8 @@
|
|||||||
package x
|
package x
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
import "strings"
|
||||||
|
import "github.com/jezek/xgb"
|
||||||
import "github.com/jezek/xgbutil"
|
import "github.com/jezek/xgbutil"
|
||||||
import "github.com/jezek/xgb/xproto"
|
import "github.com/jezek/xgb/xproto"
|
||||||
import "github.com/jezek/xgbutil/xprop"
|
import "github.com/jezek/xgbutil/xprop"
|
||||||