Мелкие правки
This commit is contained in:
@@ -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;
|
||||
|
||||
/* Обработчики клавиатуры */
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* Copyright (c) 2025 */
|
||||
|
||||
#include "registry.h"
|
||||
#include "input.h"
|
||||
#include <stdint.h>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user