window-management: allow moving/resizing popups
This commit is contained in:
parent
8d5ac9a2b7
commit
15e6ab2b8a
7 changed files with 268 additions and 38 deletions
|
|
@ -601,6 +601,7 @@ impl Node for XdgToplevel {
|
|||
match usecase {
|
||||
FindTreeUsecase::None => {}
|
||||
FindTreeUsecase::SelectToplevel => return FindTreeResult::AcceptsInput,
|
||||
FindTreeUsecase::SelectToplevelOrPopup => return FindTreeResult::AcceptsInput,
|
||||
FindTreeUsecase::SelectWorkspace => return FindTreeResult::Other,
|
||||
}
|
||||
self.xdg.find_tree_at(x, y, tree)
|
||||
|
|
@ -832,3 +833,11 @@ pub enum XdgToplevelError {
|
|||
NonNegative,
|
||||
}
|
||||
efrom!(XdgToplevelError, ClientError);
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
pub struct ResizeEdges {
|
||||
pub top: bool,
|
||||
pub left: bool,
|
||||
pub right: bool,
|
||||
pub bottom: bool,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue