mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
input/keyboard: use $XDG_CONFIG_HOME/xkb as first lookup path for the XKB context
This commit is contained in:
parent
21b77f376d
commit
23892fcc47
5 changed files with 86 additions and 2 deletions
28
include/meta-keymap-utils.h
Normal file
28
include/meta-keymap-utils.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
/*
|
||||
* Utilities for use with libxkbcommon
|
||||
*
|
||||
* Copyright 2020 Red Hat, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 2 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program 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
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef META_KEYMAP_UTILS_H
|
||||
#define META_KEYMAP_UTILS_H
|
||||
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
struct xkb_context * meta_create_xkb_context(void);
|
||||
|
||||
#endif /* META_KEYMAP_UTILS_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue