mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 10:08:00 +02:00
editor: Remove unused variables
This commit is contained in:
parent
8986c18f69
commit
6375ea02e5
1 changed files with 0 additions and 6 deletions
|
|
@ -386,14 +386,8 @@ text_input_keysym(void *data,
|
|||
uint32_t modifiers)
|
||||
{
|
||||
struct text_entry *entry = data;
|
||||
const char *state_label = "release";
|
||||
const char *key_label = "Unknown";
|
||||
const char *new_char;
|
||||
|
||||
if (state == WL_KEYBOARD_KEY_STATE_PRESSED) {
|
||||
state_label = "pressed";
|
||||
}
|
||||
|
||||
if (key == XKB_KEY_Left ||
|
||||
key == XKB_KEY_Right) {
|
||||
if (state != WL_KEYBOARD_KEY_STATE_RELEASED)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue