Fix refresh_focus
This commit is contained in:
parent
32805d8ee0
commit
a11c3e8f67
5 changed files with 35 additions and 3 deletions
|
|
@ -149,6 +149,10 @@ impl CosmicWindow {
|
|||
self.0.with_program(|p| p.window.clone())
|
||||
}
|
||||
|
||||
pub fn contains_surface(&self, window: &CosmicSurface) -> bool {
|
||||
self.0.with_program(|p| &p.window == window)
|
||||
}
|
||||
|
||||
pub fn offset(&self) -> Point<i32, Logical> {
|
||||
let has_ssd = self.0.with_program(|p| p.has_ssd());
|
||||
if has_ssd {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue