Set primary output when window focused

Closes #80
This commit is contained in:
Shawn Wallace 2024-12-18 01:49:55 -05:00
parent c45c2ed990
commit 03a53b6ad7
9 changed files with 338 additions and 59 deletions

View file

@ -221,7 +221,7 @@ impl super::XConnection for FakeXConnection {
}
#[track_caller]
fn focus_window(&mut self, window: Window, _: ()) {
fn focus_window(&mut self, window: Window, _output_name: Option<String>, _: ()) {
assert!(
self.windows.contains_key(&window),
"Unknown window: {window:?}"