add extra derives to RenderZindex
This commit is contained in:
parent
53c6bf003f
commit
6477942122
|
@ -11,21 +11,23 @@ use std::{
|
||||||
use wayland_server::protocol::wl_surface::WlSurface;
|
use wayland_server::protocol::wl_surface::WlSurface;
|
||||||
|
|
||||||
/// Indicates default values for some zindexs inside smithay
|
/// Indicates default values for some zindexs inside smithay
|
||||||
#[derive(Debug)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
pub enum RenderZindex {
|
pub enum RenderZindex {
|
||||||
/// WlrLayer::Background default zindex
|
/// WlrLayer::Background default zindex
|
||||||
Background = 10,
|
Background = 10,
|
||||||
/// WlrLayer::Bottom default zindex
|
/// WlrLayer::Bottom default zindex
|
||||||
Bottom = 20,
|
Bottom = 20,
|
||||||
/// Not used yet?
|
|
||||||
Shell = 30,
|
|
||||||
/// Default zindex for Windows
|
/// Default zindex for Windows
|
||||||
Top = 40,
|
Shell = 30,
|
||||||
|
/// Default zindex for Windows PopUps
|
||||||
|
PopUpsShell = 40,
|
||||||
|
/// WlrLayer::Top default zindex
|
||||||
|
Top = 50,
|
||||||
/// Default Layer for RenderElements
|
/// Default Layer for RenderElements
|
||||||
Overlay = 50,
|
Overlay = 80,
|
||||||
/// Default Layer for PopUps?
|
/// Default Layer for Overlay PopUp
|
||||||
PopUp = 60,
|
PopUpsOverlay = 100,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Elements rendered by [`Space::render_output`] in addition to windows, layers and popups.
|
/// Elements rendered by [`Space::render_output`] in addition to windows, layers and popups.
|
||||||
|
|
Loading…
Reference in New Issue