aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xf86vidmode
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/xf86vidmode
parent33509dbeb0acd7abbbb9e8c434d0c3f0ce8a3230 (diff)
downloadhaven-76f9adb5991081e27ebc6eec82db6bdba36c910f.tar.gz
haven-76f9adb5991081e27ebc6eec82db6bdba36c910f.tar.xz
haven-76f9adb5991081e27ebc6eec82db6bdba36c910f.zip
Use consistent extension names. Close #6.
Diffstat (limited to 'nexgb/xf86vidmode')
-rw-r--r--nexgb/xf86vidmode/xf86vidmode.go126
1 files changed, 63 insertions, 63 deletions
diff --git a/nexgb/xf86vidmode/xf86vidmode.go b/nexgb/xf86vidmode/xf86vidmode.go
index 44228c4..8abb44e 100644
--- a/nexgb/xf86vidmode/xf86vidmode.go
+++ b/nexgb/xf86vidmode/xf86vidmode.go
@@ -554,7 +554,7 @@ type AddModeLineCookie struct {
// AddModeLine sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func AddModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, AfterDotclock Dotclock, AfterHdisplay uint16, AfterHsyncstart uint16, AfterHsyncend uint16, AfterHtotal uint16, AfterHskew uint16, AfterVdisplay uint16, AfterVsyncstart uint16, AfterVsyncend uint16, AfterVtotal uint16, AfterFlags uint32, Private []byte) AddModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'AddModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -565,7 +565,7 @@ func AddModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16,
// AddModeLineChecked sends a checked request.
// If an error occurs, it can be retrieved using AddModeLineCookie.Check()
func AddModeLineChecked(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, AfterDotclock Dotclock, AfterHdisplay uint16, AfterHsyncstart uint16, AfterHsyncend uint16, AfterHtotal uint16, AfterHskew uint16, AfterVdisplay uint16, AfterVsyncstart uint16, AfterVsyncend uint16, AfterVtotal uint16, AfterFlags uint32, Private []byte) AddModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'AddModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -586,7 +586,7 @@ func addModeLineRequest(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 7 // request opcode
@@ -689,7 +689,7 @@ type DeleteModeLineCookie struct {
// DeleteModeLine sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func DeleteModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) DeleteModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'DeleteModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -700,7 +700,7 @@ func DeleteModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint
// DeleteModeLineChecked sends a checked request.
// If an error occurs, it can be retrieved using DeleteModeLineCookie.Check()
func DeleteModeLineChecked(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) DeleteModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'DeleteModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -721,7 +721,7 @@ func deleteModeLineRequest(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdispl
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 8 // request opcode
@@ -787,7 +787,7 @@ type GetAllModeLinesCookie struct {
// GetAllModeLines sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetAllModeLinesCookie.Reply()
func GetAllModeLines(c *xgb.Conn, Screen uint16) GetAllModeLinesCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetAllModeLines' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -798,7 +798,7 @@ func GetAllModeLines(c *xgb.Conn, Screen uint16) GetAllModeLinesCookie {
// GetAllModeLinesUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetAllModeLinesUnchecked(c *xgb.Conn, Screen uint16) GetAllModeLinesCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetAllModeLines' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -859,7 +859,7 @@ func getAllModeLinesRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 6 // request opcode
@@ -884,7 +884,7 @@ type GetDotClocksCookie struct {
// GetDotClocks sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetDotClocksCookie.Reply()
func GetDotClocks(c *xgb.Conn, Screen uint16) GetDotClocksCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetDotClocks' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -895,7 +895,7 @@ func GetDotClocks(c *xgb.Conn, Screen uint16) GetDotClocksCookie {
// GetDotClocksUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetDotClocksUnchecked(c *xgb.Conn, Screen uint16) GetDotClocksCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetDotClocks' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -968,7 +968,7 @@ func getDotClocksRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 13 // request opcode
@@ -993,7 +993,7 @@ type GetGammaCookie struct {
// GetGamma sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetGammaCookie.Reply()
func GetGamma(c *xgb.Conn, Screen uint16) GetGammaCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGamma' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1004,7 +1004,7 @@ func GetGamma(c *xgb.Conn, Screen uint16) GetGammaCookie {
// GetGammaUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetGammaUnchecked(c *xgb.Conn, Screen uint16) GetGammaCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGamma' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1069,7 +1069,7 @@ func getGammaRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 16 // request opcode
@@ -1094,7 +1094,7 @@ type GetGammaRampCookie struct {
// GetGammaRamp sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetGammaRampCookie.Reply()
func GetGammaRamp(c *xgb.Conn, Screen uint16, Size uint16) GetGammaRampCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGammaRamp' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1105,7 +1105,7 @@ func GetGammaRamp(c *xgb.Conn, Screen uint16, Size uint16) GetGammaRampCookie {
// GetGammaRampUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetGammaRampUnchecked(c *xgb.Conn, Screen uint16, Size uint16) GetGammaRampCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGammaRamp' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1186,7 +1186,7 @@ func getGammaRampRequest(c *xgb.Conn, Screen uint16, Size uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 17 // request opcode
@@ -1212,7 +1212,7 @@ type GetGammaRampSizeCookie struct {
// GetGammaRampSize sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetGammaRampSizeCookie.Reply()
func GetGammaRampSize(c *xgb.Conn, Screen uint16) GetGammaRampSizeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGammaRampSize' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1223,7 +1223,7 @@ func GetGammaRampSize(c *xgb.Conn, Screen uint16) GetGammaRampSizeCookie {
// GetGammaRampSizeUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetGammaRampSizeUnchecked(c *xgb.Conn, Screen uint16) GetGammaRampSizeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetGammaRampSize' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1280,7 +1280,7 @@ func getGammaRampSizeRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 19 // request opcode
@@ -1305,7 +1305,7 @@ type GetModeLineCookie struct {
// GetModeLine sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetModeLineCookie.Reply()
func GetModeLine(c *xgb.Conn, Screen uint16) GetModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1316,7 +1316,7 @@ func GetModeLine(c *xgb.Conn, Screen uint16) GetModeLineCookie {
// GetModeLineUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetModeLineUnchecked(c *xgb.Conn, Screen uint16) GetModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1425,7 +1425,7 @@ func getModeLineRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 1 // request opcode
@@ -1450,7 +1450,7 @@ type GetMonitorCookie struct {
// GetMonitor sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetMonitorCookie.Reply()
func GetMonitor(c *xgb.Conn, Screen uint16) GetMonitorCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetMonitor' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1461,7 +1461,7 @@ func GetMonitor(c *xgb.Conn, Screen uint16) GetMonitorCookie {
// GetMonitorUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetMonitorUnchecked(c *xgb.Conn, Screen uint16) GetMonitorCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetMonitor' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1567,7 +1567,7 @@ func getMonitorRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 4 // request opcode
@@ -1592,7 +1592,7 @@ type GetPermissionsCookie struct {
// GetPermissions sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetPermissionsCookie.Reply()
func GetPermissions(c *xgb.Conn, Screen uint16) GetPermissionsCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetPermissions' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1603,7 +1603,7 @@ func GetPermissions(c *xgb.Conn, Screen uint16) GetPermissionsCookie {
// GetPermissionsUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetPermissionsUnchecked(c *xgb.Conn, Screen uint16) GetPermissionsCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetPermissions' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1660,7 +1660,7 @@ func getPermissionsRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 20 // request opcode
@@ -1685,7 +1685,7 @@ type GetViewPortCookie struct {
// GetViewPort sends a checked request.
// If an error occurs, it will be returned with the reply by calling GetViewPortCookie.Reply()
func GetViewPort(c *xgb.Conn, Screen uint16) GetViewPortCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetViewPort' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1696,7 +1696,7 @@ func GetViewPort(c *xgb.Conn, Screen uint16) GetViewPortCookie {
// GetViewPortUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func GetViewPortUnchecked(c *xgb.Conn, Screen uint16) GetViewPortCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'GetViewPort' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -1757,7 +1757,7 @@ func getViewPortRequest(c *xgb.Conn, Screen uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 11 // request opcode
@@ -1782,7 +1782,7 @@ type LockModeSwitchCookie struct {
// LockModeSwitch sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func LockModeSwitch(c *xgb.Conn, Screen uint16, Lock uint16) LockModeSwitchCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'LockModeSwitch' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -1793,7 +1793,7 @@ func LockModeSwitch(c *xgb.Conn, Screen uint16, Lock uint16) LockModeSwitchCooki
// LockModeSwitchChecked sends a checked request.
// If an error occurs, it can be retrieved using LockModeSwitchCookie.Check()
func LockModeSwitchChecked(c *xgb.Conn, Screen uint16, Lock uint16) LockModeSwitchCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'LockModeSwitch' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -1814,7 +1814,7 @@ func lockModeSwitchRequest(c *xgb.Conn, Screen uint16, Lock uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 5 // request opcode
@@ -1840,7 +1840,7 @@ type ModModeLineCookie struct {
// ModModeLine sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func ModModeLine(c *xgb.Conn, Screen uint32, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) ModModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'ModModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -1851,7 +1851,7 @@ func ModModeLine(c *xgb.Conn, Screen uint32, Hdisplay uint16, Hsyncstart uint16,
// ModModeLineChecked sends a checked request.
// If an error occurs, it can be retrieved using ModModeLineCookie.Check()
func ModModeLineChecked(c *xgb.Conn, Screen uint32, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) ModModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'ModModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -1872,7 +1872,7 @@ func modModeLineRequest(c *xgb.Conn, Screen uint32, Hdisplay uint16, Hsyncstart
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 2 // request opcode
@@ -1935,7 +1935,7 @@ type QueryVersionCookie struct {
// QueryVersion sends a checked request.
// If an error occurs, it will be returned with the reply by calling QueryVersionCookie.Reply()
func QueryVersion(c *xgb.Conn) QueryVersionCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'QueryVersion' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -1946,7 +1946,7 @@ func QueryVersion(c *xgb.Conn) QueryVersionCookie {
// QueryVersionUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func QueryVersionUnchecked(c *xgb.Conn) QueryVersionCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'QueryVersion' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -2004,7 +2004,7 @@ func queryVersionRequest(c *xgb.Conn) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 0 // request opcode
@@ -2024,7 +2024,7 @@ type SetClientVersionCookie struct {
// SetClientVersion sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetClientVersion(c *xgb.Conn, Major uint16, Minor uint16) SetClientVersionCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetClientVersion' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2035,7 +2035,7 @@ func SetClientVersion(c *xgb.Conn, Major uint16, Minor uint16) SetClientVersionC
// SetClientVersionChecked sends a checked request.
// If an error occurs, it can be retrieved using SetClientVersionCookie.Check()
func SetClientVersionChecked(c *xgb.Conn, Major uint16, Minor uint16) SetClientVersionCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetClientVersion' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2056,7 +2056,7 @@ func setClientVersionRequest(c *xgb.Conn, Major uint16, Minor uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 14 // request opcode
@@ -2082,7 +2082,7 @@ type SetGammaCookie struct {
// SetGamma sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetGamma(c *xgb.Conn, Screen uint16, Red uint32, Green uint32, Blue uint32) SetGammaCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetGamma' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2093,7 +2093,7 @@ func SetGamma(c *xgb.Conn, Screen uint16, Red uint32, Green uint32, Blue uint32)
// SetGammaChecked sends a checked request.
// If an error occurs, it can be retrieved using SetGammaCookie.Check()
func SetGammaChecked(c *xgb.Conn, Screen uint16, Red uint32, Green uint32, Blue uint32) SetGammaCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetGamma' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2114,7 +2114,7 @@ func setGammaRequest(c *xgb.Conn, Screen uint16, Red uint32, Green uint32, Blue
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 15 // request opcode
@@ -2150,7 +2150,7 @@ type SetGammaRampCookie struct {
// SetGammaRamp sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetGammaRamp(c *xgb.Conn, Screen uint16, Size uint16, Red []uint16, Green []uint16, Blue []uint16) SetGammaRampCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetGammaRamp' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2161,7 +2161,7 @@ func SetGammaRamp(c *xgb.Conn, Screen uint16, Size uint16, Red []uint16, Green [
// SetGammaRampChecked sends a checked request.
// If an error occurs, it can be retrieved using SetGammaRampCookie.Check()
func SetGammaRampChecked(c *xgb.Conn, Screen uint16, Size uint16, Red []uint16, Green []uint16, Blue []uint16) SetGammaRampCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetGammaRamp' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2182,7 +2182,7 @@ func setGammaRampRequest(c *xgb.Conn, Screen uint16, Size uint16, Red []uint16,
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 18 // request opcode
@@ -2226,7 +2226,7 @@ type SetViewPortCookie struct {
// SetViewPort sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SetViewPort(c *xgb.Conn, Screen uint16, X uint32, Y uint32) SetViewPortCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetViewPort' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2237,7 +2237,7 @@ func SetViewPort(c *xgb.Conn, Screen uint16, X uint32, Y uint32) SetViewPortCook
// SetViewPortChecked sends a checked request.
// If an error occurs, it can be retrieved using SetViewPortCookie.Check()
func SetViewPortChecked(c *xgb.Conn, Screen uint16, X uint32, Y uint32) SetViewPortCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SetViewPort' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2258,7 +2258,7 @@ func setViewPortRequest(c *xgb.Conn, Screen uint16, X uint32, Y uint32) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 12 // request opcode
@@ -2289,7 +2289,7 @@ type SwitchModeCookie struct {
// SwitchMode sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SwitchMode(c *xgb.Conn, Screen uint16, Zoom uint16) SwitchModeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SwitchMode' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2300,7 +2300,7 @@ func SwitchMode(c *xgb.Conn, Screen uint16, Zoom uint16) SwitchModeCookie {
// SwitchModeChecked sends a checked request.
// If an error occurs, it can be retrieved using SwitchModeCookie.Check()
func SwitchModeChecked(c *xgb.Conn, Screen uint16, Zoom uint16) SwitchModeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SwitchMode' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2321,7 +2321,7 @@ func switchModeRequest(c *xgb.Conn, Screen uint16, Zoom uint16) []byte {
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 3 // request opcode
@@ -2347,7 +2347,7 @@ type SwitchToModeCookie struct {
// SwitchToMode sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func SwitchToMode(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) SwitchToModeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SwitchToMode' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, false)
@@ -2358,7 +2358,7 @@ func SwitchToMode(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16
// SwitchToModeChecked sends a checked request.
// If an error occurs, it can be retrieved using SwitchToModeCookie.Check()
func SwitchToModeChecked(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) SwitchToModeCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'SwitchToMode' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, false)
@@ -2379,7 +2379,7 @@ func switchToModeRequest(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 10 // request opcode
@@ -2445,7 +2445,7 @@ type ValidateModeLineCookie struct {
// ValidateModeLine sends a checked request.
// If an error occurs, it will be returned with the reply by calling ValidateModeLineCookie.Reply()
func ValidateModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) ValidateModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'ValidateModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(true, true)
@@ -2456,7 +2456,7 @@ func ValidateModeLine(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay ui
// ValidateModeLineUnchecked sends an unchecked request.
// If an error occurs, it can only be retrieved using xgb.WaitForEvent or xgb.PollForEvent.
func ValidateModeLineUnchecked(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdisplay uint16, Hsyncstart uint16, Hsyncend uint16, Htotal uint16, Hskew uint16, Vdisplay uint16, Vsyncstart uint16, Vsyncend uint16, Vtotal uint16, Flags uint32, Privsize uint32, Private []byte) ValidateModeLineCookie {
- if _, ok := c.Extensions["XFREE86-VIDMODEEXTENSION"]; !ok {
+ if _, ok := c.Extensions["XFree86-VidModeExtension"]; !ok {
panic("Cannot issue request 'ValidateModeLine' using the uninitialized extension 'XFree86-VidModeExtension'. xf86vidmode.Init(connObj) must be called first.")
}
cookie := c.NewCookie(false, true)
@@ -2513,7 +2513,7 @@ func validateModeLineRequest(c *xgb.Conn, Screen uint32, Dotclock Dotclock, Hdis
b := 0
buf := make([]byte, size)
- buf[b] = c.Extensions["XFREE86-VIDMODEEXTENSION"]
+ buf[b] = c.Extensions["XFree86-VidModeExtension"]
b += 1
buf[b] = 9 // request opcode