hyprshell-windows-lib 4.9.5

A modern GTK4-based window switcher and application launcher for Hyprland
1
2
3
4
5
6
7
8
9
10
11
12
use crate::global::WindowsSwitchData;
use core_lib::WarnWithDetails;
use exec_lib::reset_no_follow_mouse;
use relm4::adw::gtk::prelude::*;
use tracing::{debug_span, trace};

pub fn stop_switch(data: &WindowsSwitchData) {
    let _span = debug_span!("stop_switch").entered();
    reset_no_follow_mouse().warn_details("Failed to reset follow mouse");
    trace!("Closing window {:?}", data.window.id());
    data.window.close();
}