xdg-shell: fetch existing extents when surface is created
The surface might alredy have non-0 extents due to the use of wp_viewporter.
This commit is contained in:
parent
75da2ed107
commit
e6cdbdcac4
2 changed files with 2 additions and 1 deletions
|
|
@ -157,6 +157,7 @@ impl XdgToplevel {
|
|||
toplevel_data
|
||||
.content_type
|
||||
.set(surface.surface.content_type.get());
|
||||
toplevel_data.pos.set(surface.extents.get());
|
||||
Self {
|
||||
id,
|
||||
state: state.clone(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue