static bool windowActive(Window w) { ret isFocusedWindow(w); }