Skip to content

Commit

Permalink
xdg-shell Fix definition of initial_decoration_configure_sent
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Sep 19, 2024
1 parent fdfdaec commit 5855be5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/wayland/shell/xdg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ macro_rules! xdg_role {
/// during the first commit a initial
/// configure event is sent to the client
pub initial_configure_sent: bool,
/// An `zxdg_toplevel_decoration_v1::configure` event has been sent
/// to the client.
pub initial_decoration_configure_sent: bool,
/// Holds the configures the server has sent out
/// to the client waiting to be acknowledged by
/// the client. All pending configures that are older
Expand Down Expand Up @@ -293,7 +290,6 @@ macro_rules! xdg_role {
configure_serial: None,
pending_configures: Vec::new(),
initial_configure_sent: false,
initial_decoration_configure_sent: false,
server_pending: None,
last_acked: None,
current: Default::default(),
Expand Down Expand Up @@ -361,7 +357,10 @@ xdg_role!(
///
/// For D-Bus activatable applications, the app ID is used as the D-Bus
/// service name.
pub app_id: Option<String>
pub app_id: Option<String>,
/// An `zxdg_toplevel_decoration_v1::configure` event has been sent
/// to the client.
pub initial_decoration_configure_sent: bool
}
);

Expand Down

0 comments on commit 5855be5

Please sign in to comment.