stfu warnings

This commit is contained in:
Adam D. Ruppe 2017-03-27 13:55:51 -04:00
parent e27b0b4f94
commit 7af25bb3f0
1 changed files with 2 additions and 1 deletions

View File

@ -1112,7 +1112,7 @@ class SimpleWindow : CapableOfHandlingNativeEvent {
XSync(XDisplayConnection.get, 0); XSync(XDisplayConnection.get, 0);
if(keyboard) if(keyboard)
XSetInputFocus(XDisplayConnection.get, this.impl.window, RevertToParent, CurrentTime); XSetInputFocus(XDisplayConnection.get, this.impl.window, RevertToParent, CurrentTime);
if(mouse) if(mouse) {
if(auto res = XGrabPointer(XDisplayConnection.get, this.impl.window, false /* owner_events */, if(auto res = XGrabPointer(XDisplayConnection.get, this.impl.window, false /* owner_events */,
EventMask.PointerMotionMask // FIXME: not efficient EventMask.PointerMotionMask // FIXME: not efficient
| EventMask.ButtonPressMask | EventMask.ButtonPressMask
@ -1127,6 +1127,7 @@ class SimpleWindow : CapableOfHandlingNativeEvent {
} else { } else {
// cool // cool
} }
}
} else version(Windows) { } else version(Windows) {
// FIXME: keyboard? // FIXME: keyboard?