pub enum WindowHidingStrategy {
Unmap,
MoveMinimize,
MoveOnly,
}
Expand description
The stategy used to hide windows when switching tags in the backend
Variants§
Unmap
The common behaviour for a window manager, but it prevents hidden windows from being captured by other applications
MoveMinimize
Move the windows out of the visible area, so it can still be captured by some applications. We still inform the window that it is in a “minimized”-like state, so it can probably decide to not render its content as if it was focused.
MoveOnly
Move the windows out of the visible area and don’t minilize them. This should allow all applications to be captured by any other applications. This could result in higher resource usage, since windows will render their content like normal even if hidden.
Trait Implementations§
Source§impl Clone for WindowHidingStrategy
impl Clone for WindowHidingStrategy
Source§fn clone(&self) -> WindowHidingStrategy
fn clone(&self) -> WindowHidingStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowHidingStrategy
impl Debug for WindowHidingStrategy
Source§impl Default for WindowHidingStrategy
impl Default for WindowHidingStrategy
Source§fn default() -> WindowHidingStrategy
fn default() -> WindowHidingStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindowHidingStrategy
impl<'de> Deserialize<'de> for WindowHidingStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WindowHidingStrategy
impl PartialEq for WindowHidingStrategy
Source§impl Serialize for WindowHidingStrategy
impl Serialize for WindowHidingStrategy
impl Copy for WindowHidingStrategy
impl Eq for WindowHidingStrategy
impl StructuralPartialEq for WindowHidingStrategy
Auto Trait Implementations§
impl Freeze for WindowHidingStrategy
impl RefUnwindSafe for WindowHidingStrategy
impl Send for WindowHidingStrategy
impl Sync for WindowHidingStrategy
impl Unpin for WindowHidingStrategy
impl UnwindSafe for WindowHidingStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more