From fb613db29ffcf1539c91f0ac0ca5d25cb4e593b5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 16 Jul 2002 02:38:26 +0000 Subject: dont let focus fall back to strange windows like panels, only to normal windows and dialogs --- src/Screen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Screen.cc') diff --git a/src/Screen.cc b/src/Screen.cc index a01b0887..f4c3dcad 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1189,7 +1189,7 @@ void BScreen::manageWindow(Window w) { BlackboxWindow *win = blackbox->searchWindow(w); if (! win) return; - if (win->isDesktop()) { + if (win->windowType() == BlackboxWindow::Type_Desktop) { // desktop windows cant do anything, so we remove all the normal window // stuff from them, they are only kept around so that we can keep them on // the bottom of the z-order -- cgit v1.2.3