1
0
Fork 0
forked from wry/wry

config: rename private command messages

This commit is contained in:
kossLAN 2026-05-29 18:06:35 -04:00
parent 87de5fcca3
commit a8176b96c3
No known key found for this signature in database
8 changed files with 12 additions and 12 deletions

View file

@ -1,5 +1,5 @@
pub mod client;
pub mod ipc;
pub mod messages;
mod logging;
use {
@ -16,8 +16,8 @@ use {
pub const VERSION: u32 = 1;
pub type ServerHandler = unsafe fn(data: *const u8, msg: &ipc::ClientMessage<'_>);
pub type ConfigHandler = unsafe fn(data: *const u8, msg: &ipc::ServerMessage);
pub type ServerHandler = unsafe fn(data: *const u8, msg: &messages::ClientMessage<'_>);
pub type ConfigHandler = unsafe fn(data: *const u8, msg: &messages::ServerMessage);
pub type Unref = unsafe fn(data: *const u8);
pub struct ConfigEntry {
@ -26,7 +26,7 @@ pub struct ConfigEntry {
srv_data: *const u8,
srv_unref: Unref,
srv_handler: ServerHandler,
msg: ipc::InitMessage,
msg: messages::InitMessage,
) -> *const u8,
pub unref: Unref,
pub handle_msg: ConfigHandler,

View file

@ -5,7 +5,7 @@ use {
_private::{
ClientCriterionIpc, ClientCriterionStringField, GenericCriterionIpc, PollableId,
ServerHandler, Unref, WindowCriterionIpc, WindowCriterionStringField, WireMode,
ipc::{
messages::{
ClientMessage, InitMessage, Response, ServerFeature, ServerMessage, WorkspaceSource,
},
},

View file

@ -6,7 +6,7 @@ pub mod clickmethod;
use {
crate::{
_private::{DEFAULT_SEAT_NAME, ipc::WorkspaceSource},
_private::{DEFAULT_SEAT_NAME, messages::WorkspaceSource},
Axis, Direction, ModifiedKeySym, Workspace,
input::{acceleration::AccelProfile, capability::Capability, clickmethod::ClickMethod},
keyboard::{Keymap, mods::Modifiers, syms::KeySym},

View file

@ -17,7 +17,7 @@ use crate::input::Seat;
use {
crate::{
_private::ipc::WorkspaceSource, keyboard::ModifiedKeySym, video::Connector, window::Window,
_private::messages::WorkspaceSource, keyboard::ModifiedKeySym, video::Connector, window::Window,
},
serde::{Deserialize, Serialize},
std::{