Skip to content

Commit

Permalink
added note for X11
Browse files Browse the repository at this point in the history
  • Loading branch information
arshavirmirzakhani committed Jan 9, 2025
1 parent 6c63f17 commit c6f3d9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/native/linux_x11.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ impl X11Display {
(self.libx11.XMoveWindow)(self.display, window, new_x, new_y);
}


fn show_mouse(&mut self, shown: bool) {
unsafe {
if shown {
Expand Down Expand Up @@ -358,6 +359,9 @@ impl X11Display {
SetWindowPosition { new_x, new_y } => {
self.set_window_position(self.window, new_x as _, new_y as _)
}
SetWindowIcon { new_icon } => {

Check warning on line 362 in src/native/linux_x11.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, x86_64-unknown-linux-gnu)

unused variable: `new_icon`

Check warning on line 362 in src/native/linux_x11.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, armv7-unknown-linux-gnueabihf)

unused variable: `new_icon`

Check warning on line 362 in src/native/linux_x11.rs

View workflow job for this annotation

GitHub Actions / Build (ubuntu-latest, aarch64-unknown-linux-gnu)

unused variable: `new_icon`
eprintln!("Not implemented for X11")
}
SetFullscreen(fullscreen) => self.set_fullscreen(self.window, fullscreen),
ShowKeyboard(..) => {
eprintln!("Not implemented for X11")
Expand Down

0 comments on commit c6f3d9d

Please sign in to comment.