session-lock: fix surface initialization
This commit is contained in:
parent
44bdca8235
commit
0632990f61
2 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ impl ExtSessionLockSurfaceV1 {
|
|||
|
||||
pub fn change_extents(&self, rect: Rect) {
|
||||
self.send_configure(rect.width(), rect.height());
|
||||
self.surface.set_absolute_position(rect.x1(), rect.x2());
|
||||
self.surface.set_absolute_position(rect.x1(), rect.y1());
|
||||
}
|
||||
|
||||
fn send_configure(&self, width: i32, height: i32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue