From 043822f6b67f0b6cd1cf60eccb1294b13e8bf11a Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 6 Jan 2003 04:44:00 +0000 Subject: [PATCH] grab the first known window type --- src/client.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client.cc b/src/client.cc index b77eb8f0..01e9a56c 100644 --- a/src/client.cc +++ b/src/client.cc @@ -138,6 +138,8 @@ void OBClient::getType() // property->atom(otk::OBProperty::kde_net_wm_window_type_override)) // mwm_decorations = 0; // prevent this window from getting any decor // XXX: make this work again + if (_type != (WindowType) -1) + break; // grab the first known type } delete val; } -- 2.45.2