render: force black background color for fullscreen nodes
This commit is contained in:
parent
609f6f99cd
commit
41754e268f
6 changed files with 46 additions and 4 deletions
|
|
@ -477,6 +477,13 @@ impl OutputNode {
|
|||
fn pointer_move(self: &Rc<Self>, seat: &Rc<WlSeatGlobal>, x: i32, y: i32) {
|
||||
self.pointer_positions.set(seat.id(), (x, y));
|
||||
}
|
||||
|
||||
pub fn has_fullscreen(&self) -> bool {
|
||||
self.workspace
|
||||
.get()
|
||||
.map(|w| w.fullscreen.get().is_some())
|
||||
.unwrap_or(false)
|
||||
}
|
||||
}
|
||||
|
||||
pub struct OutputTitle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue