Skip to content

Commit

Permalink
fix wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-maximsokolov committed Dec 23, 2024
1 parent a936615 commit 1199ff2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions window/src/os/wayland/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,13 @@ impl WindowOps for WaylandWindow {
});
}

fn get_window_position(&self) -> Future<ScreenPoint> {
let mut promise = Promise::new();
let future = promise.get_future().unwrap();
promise.ok(ScreenPoint::new(0, 0));
future
}

fn set_text_cursor_position(&self, cursor: Rect) {
WaylandConnection::with_window_inner(self.0, move |inner| {
inner.set_text_cursor_position(cursor);
Expand Down

0 comments on commit 1199ff2

Please sign in to comment.