1
0
Fork 0
forked from wry/wry

tree: ensure that node is marked active after un-fullscreening

This commit is contained in:
Julian Orth 2022-05-04 16:33:28 +02:00
parent 23f1aa5a31
commit 8c3106f631
5 changed files with 58 additions and 14 deletions

View file

@ -1452,7 +1452,7 @@ impl Wm {
async fn handle_minimize_requested(&self, data: &Rc<XwindowData>) -> bool {
if let Some(w) = data.window.get() {
if w.toplevel_data.active_children.get() > 0 {
if w.toplevel_data.active_surfaces.get() > 0 {
self.set_wm_state(data, ICCCM_WM_STATE_NORMAL).await;
return false;
}