Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* SPDX-FileCopyrightText: 2017 Bernhard Liebl
*
* SPDX-License-Identifier: LGPL-2.0-or-later
*/
#import <AppKit/AppKit.h>
extern "C" {
bool isMouseCoalescingEnabled();
void setMouseCoalescingEnabled(bool enabled);
}
bool isMouseCoalescingEnabled() {
return NSEvent.isMouseCoalescingEnabled;
}
void setMouseCoalescingEnabled(bool enabled) {
NSEvent.mouseCoalescingEnabled = enabled;
}