Fix compilation on non-x11
This commit is contained in:
parent
e9af869a0a
commit
ce2ce250e4
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ pub use platform::*;
|
|||
|
||||
#[cfg(feature = "no-x11")]
|
||||
mod platform {
|
||||
use crate::config::{Side, StrutDefinition};
|
||||
use anyhow::*;
|
||||
pub fn reserve_space_for(window: >k::Window, monitor: gdk::Rectangle, strut_def: StrutDefinition) -> Result<()> {
|
||||
Err(anyhow!("Cannot reserve space on non-X11 backends"))
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue