Warning, /graphics/krita/libs/ui/osx.mm is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Bernhard Liebl 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 #import <AppKit/AppKit.h> 0007 0008 extern "C" { 0009 bool isMouseCoalescingEnabled(); 0010 void setMouseCoalescingEnabled(bool enabled); 0011 } 0012 0013 bool isMouseCoalescingEnabled() { 0014 return NSEvent.isMouseCoalescingEnabled; 0015 } 0016 0017 void setMouseCoalescingEnabled(bool enabled) { 0018 NSEvent.mouseCoalescingEnabled = enabled; 0019 }