Fix memset hack
This commit is contained in:
@@ -214,8 +214,10 @@ impl Dispatch<wl_registry::WlRegistry, ()> for State {
|
|||||||
// is not a particularly good background, but memsetting is slow. On clay,
|
// is not a particularly good background, but memsetting is slow. On clay,
|
||||||
// toplevels that adhere to their requested dimensions only have black behind
|
// toplevels that adhere to their requested dimensions only have black behind
|
||||||
// them, so we can save the memset in this case, speeding things up.
|
// them, so we can save the memset in this case, speeding things up.
|
||||||
|
if let OperationMode::XdgToplevel = state.mode {
|
||||||
state.needs_memset = false;
|
state.needs_memset = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user