Only query once for XFree86-VidModeExtension

Review Request #122272 - Created Jan. 27, 2015 and submitted

Information
Martin Flöser
kwin
master
810280f...
Reviewers
kwin
luebking

currentRefreshRate is called after each randr event and we don't
need to query the extension each time.

compile checked, not runtime checked as I don't have an nvidia setup.

Thomas Lübking
Martin Flöser
Review request changed

Status: Closed (submitted)

Loading...