Attempting to modernize code to work with X.Org R7