mirror of https://github.com/subgraph/fw-daemon
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
323 B
14 lines
323 B
8 years ago
|
//+build gtk_3_6 gtk_3_8 gtk_3_10 gtk_3_12 gtk_3_14
|
||
|
|
||
|
package gdk
|
||
|
|
||
|
// #cgo pkg-config: gdk-3.0
|
||
|
// #include <gdk/gdk.h>
|
||
|
import "C"
|
||
|
|
||
|
// SupportsComposite() is a wrapper around gdk_display_supports_composite().
|
||
|
func (v *Display) SupportsComposite() bool {
|
||
|
c := C.gdk_display_supports_composite(v.native())
|
||
|
return gobool(c)
|
||
|
}
|