Remove disabled backends
This commit is contained in:
parent
89131db79b
commit
2211b8a662
7 changed files with 23 additions and 88 deletions
|
|
@ -50,6 +50,10 @@ type x11Backend struct {
|
|||
scrollHorizontal, scrollVertical int
|
||||
}
|
||||
|
||||
func init() {
|
||||
RegisterBackend("X11", InitX11Backend, 0)
|
||||
}
|
||||
|
||||
func InitX11Backend() (Backend, error) {
|
||||
sessionType := os.Getenv("XDG_SESSION_TYPE")
|
||||
if sessionType != "" && sessionType != "x11" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue