1 // Copyright 2013-2015, The Gtk-rs Project Developers. 2 // See the COPYRIGHT file at the top-level directory of this distribution. 3 // Licensed under the MIT license, see the LICENSE file or <http://opensource.org/licenses/MIT> 4 5 use gdk_sys; 6 use DeviceManager; 7 8 impl DeviceManager { disable_multidevice()9 pub fn disable_multidevice() { 10 assert_not_initialized!(); 11 unsafe { gdk_sys::gdk_disable_multidevice() } 12 } 13 } 14