added cursor_follows_focus and focus_follows_cursor
This commit is contained in:
parent
52280e9823
commit
7da0bc430a
22 changed files with 844 additions and 384 deletions
|
|
@ -177,7 +177,7 @@ impl CosmicWindowInternal {
|
|||
pub fn current_focus(&self) -> Option<Focus> {
|
||||
unsafe { Focus::from_u8(self.pointer_entered.load(Ordering::SeqCst)) }
|
||||
}
|
||||
|
||||
/// returns if the window has any current or pending server-side decorations
|
||||
pub fn has_ssd(&self, pending: bool) -> bool {
|
||||
!self.window.is_decorated(pending)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue