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);
|
||||
if(keyboard)
|
||||
XSetInputFocus(XDisplayConnection.get, this.impl.window, RevertToParent, CurrentTime);
|
||||
if(mouse)
|
||||
if(mouse) {
|
||||
if(auto res = XGrabPointer(XDisplayConnection.get, this.impl.window, false /* owner_events */,
|
||||
EventMask.PointerMotionMask // FIXME: not efficient
|
||||
| EventMask.ButtonPressMask
|
||||
|
@ -1127,6 +1127,7 @@ class SimpleWindow : CapableOfHandlingNativeEvent {
|
|||
} else {
|
||||
// cool
|
||||
}
|
||||
}
|
||||
|
||||
} else version(Windows) {
|
||||
// FIXME: keyboard?
|
||||
|
|
Loading…
Reference in New Issue