aboutsummaryrefslogtreecommitdiff
path: root/nexgb/randr
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2013-12-28 10:13:20 -0500
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:21 +0200
commit76f9adb5991081e27ebc6eec82db6bdba36c910f (patch)
treecbf0e38e95853b9fc3c1133f901e7b4c5f6ab435 /nexgb/randr
parent33509dbeb0acd7abbbb9e8c434d0c3f0ce8a3230 (diff)
downloadhaven-76f9adb5991081e27ebc6eec82db6bdba36c910f.tar.gz
haven-76f9adb5991081e27ebc6eec82db6bdba36c910f.tar.xz
haven-76f9adb5991081e27ebc6eec82db6bdba36c910f.zip
Use consistent extension names. Close #6.
Diffstat (limited to 'nexgb/randr')
-rw-r--r--nexgb/randr/randr.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/nexgb/randr/randr.go b/nexgb/randr/randr.go
index c7893e3..db45a23 100644
--- a/nexgb/randr/randr.go
+++ b/nexgb/randr/randr.go
@@ -504,15 +504,6 @@ func ModeInfoListBytes(buf []byte, list []ModeInfo) int {
return xgb.Pad(b)
}
-const (
- NotifyCrtcChange = 0
- NotifyOutputChange = 1
- NotifyOutputProperty = 2
- NotifyProviderChange = 3
- NotifyProviderProperty = 4
- NotifyResourceChange = 5
-)
-
// Notify is the event number for a NotifyEvent.
const Notify = 1
@@ -581,6 +572,15 @@ func init() {
xgb.NewExtEventFuncs["RANDR"][1] = NotifyEventNew
}
+const (
+ NotifyCrtcChange = 0
+ NotifyOutputChange = 1
+ NotifyOutputProperty = 2
+ NotifyProviderChange = 3
+ NotifyProviderProperty = 4
+ NotifyResourceChange = 5
+)
+
// NotifyDataUnion is a represention of the NotifyDataUnion union type.
// Note that to *create* a Union, you should *never* create
// this struct directly (unless you know what you're doing).