mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
backends/native: Add distinct meta-input-thread.h header
Make it impossible to add individual includes of input thread objects. This must go through meta-input-thread.h now, which should be enough to make anyone think it twice. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:

committed by
Marge Bot

parent
c03be03cd3
commit
8b6ea12fac
33
src/backends/native/meta-input-thread.h
Normal file
33
src/backends/native/meta-input-thread.h
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Red Hat Inc.
|
||||
*
|
||||
* 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/>.
|
||||
*
|
||||
* Author: Carlos Garnacho <carlosg@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef META_INPUT_THREAD_H
|
||||
#define META_INPUT_THREAD_H
|
||||
|
||||
#define META_INPUT_THREAD_H_INSIDE
|
||||
|
||||
#include "src/backends/native/meta-input-device-native.h"
|
||||
#include "src/backends/native/meta-input-device-tool-native.h"
|
||||
#include "src/backends/native/meta-input-settings-native.h"
|
||||
#include "src/backends/native/meta-keymap-native.h"
|
||||
#include "src/backends/native/meta-seat-impl.h"
|
||||
|
||||
#undef META_INPUT_THREAD_H_INSIDE
|
||||
|
||||
#endif /* META_INPUT_THREAD_H */
|
Reference in New Issue
Block a user