implement zwlr_foreign_toplevel_management protocol (#452)
* implement zwlr_foreign_toplevel_management protocol * check if initial id is empty
This commit is contained in:
parent
3be8534683
commit
0930f00356
18 changed files with 636 additions and 24 deletions
|
|
@ -302,7 +302,7 @@ impl Xwindow {
|
|||
Change::Map => {
|
||||
self.data.state.map_tiled(self.clone());
|
||||
if self.data.info.fullscreen.get() {
|
||||
self.clone().tl_set_fullscreen(true);
|
||||
self.clone().tl_set_fullscreen(true, None);
|
||||
}
|
||||
self.data.title_changed();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ use {
|
|||
},
|
||||
},
|
||||
xdg_toplevel_drag_v1::XdgToplevelDragV1,
|
||||
zwlr_foreign_toplevel_manager_v1::ZwlrForeignToplevelManagerV1,
|
||||
},
|
||||
leaks::Tracker,
|
||||
object::{Object, Version},
|
||||
|
|
@ -180,6 +181,10 @@ impl XdgToplevel {
|
|||
self.toplevel_data.send(self.clone(), list);
|
||||
}
|
||||
|
||||
pub fn manager_send_to(self: &Rc<Self>, manager: &ZwlrForeignToplevelManagerV1) {
|
||||
self.toplevel_data.manager_send(self.clone(), manager);
|
||||
}
|
||||
|
||||
pub fn send_current_configure(&self) {
|
||||
if self.drag.is_none() {
|
||||
let rect = self.xdg.absolute_desired_extents.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue