feat(bar): add app icon next to focused window title

This commit is contained in:
LGUG2Z
2024-09-07 15:00:29 -07:00
parent 025162769b
commit a1688691cf
4 changed files with 663 additions and 27 deletions
+5
View File
@@ -393,6 +393,11 @@ impl Window {
exe
}
pub fn process_id(self) -> u32 {
let (process_id, _) = WindowsApi::window_thread_process_id(self.hwnd());
process_id
}
pub fn class(self) -> Result<String> {
WindowsApi::real_window_class_w(self.hwnd())
}