1
0
Fork 0
forked from wry/wry

session-lock: fix surface initialization

This commit is contained in:
Julian Orth 2024-07-12 20:05:22 +02:00
parent 44bdca8235
commit 0632990f61
2 changed files with 2 additions and 1 deletions

View file

@ -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) {