Lines Matching refs:Display
104 // This is a wrapper class around Display, that opens and closes X display in
108 explicit ScopedDisplay(Display* display) : display_(display) {
120 Display* get() const {
125 Display* display_;
165 ScopedDisplay display(XOpenDisplay(NULL));
166 if (!display.get()) {
170 XAutoRepeatOn(display.get());
172 XAutoRepeatOff(display.get());
183 ScopedDisplay display(XOpenDisplay(NULL));
184 if (!display.get()) {
191 if (XkbSetAutoRepeatRate(display.get(), XkbUseCoreKbd,
394 ScopedDisplay display(XOpenDisplay(NULL));
395 if (!display.get()) {
399 XkbGetState(display.get(), XkbUseCoreKbd, &status);
405 ScopedDisplay display(XOpenDisplay(NULL));
406 if (!display.get()) {
410 display.get(), XkbUseCoreKbd, LockMask, enable_caps_lock ? LockMask : 0);