mirror of https://github.com/adamdruppe/arsd.git
stfu warnings
This commit is contained in:
parent
e27b0b4f94
commit
7af25bb3f0
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue