feat(wayland): serial counter

This commit is contained in:
Nova
2023-01-04 07:25:22 -05:00
parent 42efc67625
commit 568ebb0060
5 changed files with 21 additions and 15 deletions

View File

@@ -12,6 +12,7 @@ mod xdg_shell;
use self::{state::WaylandState, surface::CORE_SURFACES};
use crate::wayland::state::ClientState;
use color_eyre::eyre::{ensure, Result};
use global_counter::primitive::exact::CounterU32;
use once_cell::sync::OnceCell;
use parking_lot::Mutex;
use slog::Drain;
@@ -32,6 +33,8 @@ use tokio::{
};
use tracing::info;
pub static SERIAL_COUNTER: CounterU32 = CounterU32::new(0);
struct EGLRawHandles {
display: *const c_void,
config: *const c_void,