Add workspace_overview_is_open function; put in a utils::quirks mod

This is increasingly not just related to screencopy, so it's weird to
add there. I don't see any other module that fits, so add one called
"quirks" (like the Linux kernel uses for device-specific handling in
generic drives).
This commit is contained in:
Ian Douglas Scott 2024-07-12 16:03:17 -07:00 committed by Victoria Brekenfeld
parent 355b142c52
commit 0636bcdef3
6 changed files with 24 additions and 16 deletions

View file

@ -52,11 +52,11 @@ use smithay::{
use crate::{
backend::render::animations::spring::{Spring, SpringParams},
config::Config,
utils::prelude::*,
utils::{prelude::*, quirks::WORKSPACE_OVERVIEW_NAMESPACE},
wayland::{
handlers::{
screencopy::WORKSPACE_OVERVIEW_NAMESPACE, toplevel_management::minimize_rectangle,
xdg_activation::ActivationContext, xdg_shell::popup::get_popup_toplevel,
toplevel_management::minimize_rectangle, xdg_activation::ActivationContext,
xdg_shell::popup::get_popup_toplevel,
},
protocols::{
toplevel_info::{