Fix review findings across compositor and shell

This commit is contained in:
Samuel Onoja committed 2026-10-13 04:02:17 +01:00
1 parent 5d9673aad3
commit f7e5efb245
30 files changed
+1222 -181

No files matched your search

+6 -2
View File
@@ -137,9 +137,13 @@ impl PopoverAnchor {
}
impl OpenMenu {
pub(super) fn prepare_surface(&mut self, surface: &wl_surface::WlSurface) {
pub(super) fn prepare_surface(
&mut self,
context: &mut Option<std::rc::Rc<EffectsContext>>,
surface: &wl_surface::WlSurface,
) {
if self.effects.is_none() {
match EffectsBinding::attach_role(surface, None, 0.0) {
match EffectsBinding::attach_role(context, surface, None, 0.0) {
Ok(binding) => self.effects = Some(binding),
Err(error) => eprintln!("ferese-shell: popover material unavailable: {error}"),
}