Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
nashaofu committed May 26, 2024
1 parent 917520e commit 9e92a75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ impl Window {
pub fn title(&self) -> &str {
&self.impl_window.title
}

#[cfg(target_os = "windows")]
/// The window process id
pub fn process_id(&self) -> u32 {
self.impl_window.process_id
Expand Down

0 comments on commit 9e92a75

Please sign in to comment.