toplevel-drag: damage toplevel on drop
This commit is contained in:
parent
7729704e42
commit
d31ad1f641
1 changed files with 3 additions and 0 deletions
|
|
@ -388,6 +388,9 @@ impl XdgToplevel {
|
|||
|
||||
pub fn after_toplevel_drag(self: &Rc<Self>, output: &Rc<OutputNode>, x: i32, y: i32) {
|
||||
assert!(self.toplevel_data.parent.is_none());
|
||||
if self.node_visible() {
|
||||
self.xdg.damage();
|
||||
}
|
||||
let extents = match self.xdg.geometry.get() {
|
||||
None => self.xdg.extents.get(),
|
||||
Some(g) => g,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue