mirror of
https://github.com/brl/mutter.git
synced 2024-12-30 14:42:14 +00:00
3c6a0cdc61
Clutter applications using evdev are typically fullscreen applications associated with a single virtual termainal. When switching away from the applications associated tty then Clutter should stop managing all evdev devices and re-probe for devices when the application regains focus by switching back to the tty. To facilitate this, this patch adds clutter_evdev_release_devices() and clutter_evdev_reclaim_devices() functions. Reviewed-by: Neil Roberts <neil@linux.intel.com> Reviewed-by: Emmanuele Bassi <ebassi@linux.intel.com>
39 lines
1.0 KiB
C
39 lines
1.0 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Copyright (C) 2012 Intel Corp.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef __CLUTTER_EVDEV_H__
|
|
#define __CLUTTER_EVDEV_H__
|
|
|
|
#include <glib.h>
|
|
#include <glib-object.h>
|
|
#include <clutter/clutter.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void clutter_evdev_release_devices (void);
|
|
void clutter_evdev_reclaim_devices (void);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __CLUTTER_EVDEV_H__ */
|