xwayland: set output for override redirect windows
This commit is contained in:
parent
0dc1929bbd
commit
7ff7edaa8f
7 changed files with 13 additions and 15 deletions
|
|
@ -423,6 +423,9 @@ impl ToplevelNodeBase for Xwindow {
|
|||
if self.data.info.override_redirect.get() {
|
||||
self.data.state.damage(old);
|
||||
self.data.state.damage(*rect);
|
||||
let (x, y) = rect.center();
|
||||
let output = self.data.state.find_closest_output(x, y).0;
|
||||
self.x.surface.set_output(&output);
|
||||
} else {
|
||||
self.data
|
||||
.state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue