fix: popup position (#281)
This commit is contained in:
parent
f379ff5722
commit
ae98f974e0
1 changed files with 4 additions and 0 deletions
|
|
@ -944,8 +944,12 @@ impl<S: X11Selection + 'static> InnerServerState<S> {
|
||||||
};
|
};
|
||||||
if dims == win.attrs.dims {
|
if dims == win.attrs.dims {
|
||||||
return;
|
return;
|
||||||
|
} else if win.attrs.is_popup {
|
||||||
|
win.attrs.dims = dims;
|
||||||
}
|
}
|
||||||
|
|
||||||
debug!("Reconfiguring {:?} {:?}", event.window(), dims);
|
debug!("Reconfiguring {:?} {:?}", event.window(), dims);
|
||||||
|
|
||||||
if !win.mapped {
|
if !win.mapped {
|
||||||
win.attrs.dims = dims;
|
win.attrs.dims = dims;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue