mirror of
https://github.com/labwc/labwc.git
synced 2026-04-18 06:46:46 -04:00
Merge branch 'master' into menu-accelerators
This commit is contained in:
commit
5a6e17444e
19 changed files with 539 additions and 43 deletions
|
|
@ -23,6 +23,7 @@ struct keybind {
|
|||
struct wl_list actions; /* struct action.link */
|
||||
struct wl_list link; /* struct rcxml.keybinds */
|
||||
bool on_release;
|
||||
bool override_inhibition;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ struct rcxml {
|
|||
enum tearing_mode allow_tearing;
|
||||
bool auto_enable_outputs;
|
||||
bool reuse_output_mode;
|
||||
uint32_t allowed_interfaces;
|
||||
bool xwayland_persistence;
|
||||
bool primary_selection;
|
||||
char *prompt_command;
|
||||
|
|
@ -225,4 +226,6 @@ void rcxml_finish(void);
|
|||
*/
|
||||
void append_parsed_actions(xmlNode *node, struct wl_list *list);
|
||||
|
||||
uint32_t parse_privileged_interface(const char *name);
|
||||
|
||||
#endif /* LABWC_RCXML_H */
|
||||
|
|
|
|||
|
|
@ -5,12 +5,17 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct seat;
|
||||
|
||||
/*
|
||||
* All keycodes in these functions are (Linux) libinput evdev scancodes which is
|
||||
* what 'wlr_keyboard' uses (e.g. 'seat->keyboard_group->keyboard->keycodes').
|
||||
* Note: These keycodes are different to XKB scancodes by a value of 8.
|
||||
*/
|
||||
|
||||
void key_state_indicator_update(struct seat *seat);
|
||||
void key_state_indicator_toggle(void);
|
||||
|
||||
/**
|
||||
* key_state_pressed_sent_keycodes - generate array of pressed+sent keys
|
||||
* Note: The array is generated by subtracting any bound keys from _all_ pressed
|
||||
|
|
|
|||
8
include/show-desktop.h
Normal file
8
include/show-desktop.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_SHOW_DESKTOP_H
|
||||
#define LABWC_SHOW_DESKTOP_H
|
||||
|
||||
void show_desktop_toggle(void);
|
||||
void show_desktop_reset(void);
|
||||
|
||||
#endif /* LABWC_SHOW_DESKTOP_H */
|
||||
|
|
@ -184,6 +184,7 @@ struct view {
|
|||
enum ssd_preference ssd_preference;
|
||||
bool shaded;
|
||||
bool minimized;
|
||||
bool was_minimized_by_show_desktop_action;
|
||||
enum view_axis maximized;
|
||||
bool fullscreen;
|
||||
bool tearing_hint;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue