Мелкие правки

This commit is contained in:
2025-11-17 01:38:16 +03:00
parent e0ac79bae1
commit 908d539abe
3 changed files with 6 additions and 11 deletions

View File

@@ -7,12 +7,11 @@
#include <fcntl.h>
#include <string.h>
static __thread struct wl_seat *seat = NULL;
static __thread struct wl_keyboard *keyboard = NULL;
static __thread struct xkb_context *xkb_ctx = NULL;
static __thread struct xkb_keymap *xkb_keymap = NULL;
static __thread struct xkb_state *xkb_state = NULL;
static struct wl_seat *seat = NULL;
static struct wl_keyboard *keyboard = NULL;
static struct xkb_context *xkb_ctx = NULL;
static struct xkb_keymap *xkb_keymap = NULL;
static struct xkb_state *xkb_state = NULL;
static struct wl_surface *keyboard_focus = NULL;
/* Обработчики клавиатуры */

View File

@@ -1,5 +1,3 @@
/* Copyright (c) 2025 */
#include "registry.h"
#include "input.h"
#include <stdint.h>

View File

@@ -11,7 +11,7 @@
#include <string.h>
#include <stdatomic.h>
#include "registry.h"
static atomic_uint_fast64_t shm_counter = 0;
@@ -239,5 +239,3 @@ void window_destroy(struct wayland_window *win)
if (win->data)
munmap(win->data, win->width * win->height * 4);
}
/* конец файла */
#include "registry.h"