// 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;
}
void OBClient::focusHandler(const XFocusChangeEvent &e)
{
#ifdef DEBUG
- printf("FocusIn for 0x%lx\n", e.window);
+// printf("FocusIn for 0x%lx\n", e.window);
#endif // DEBUG
OtkEventHandler::focusHandler(e);
void OBClient::unfocusHandler(const XFocusChangeEvent &e)
{
#ifdef DEBUG
- printf("FocusOut for 0x%lx\n", e.window);
+// printf("FocusOut for 0x%lx\n", e.window);
#endif // DEBUG
OtkEventHandler::unfocusHandler(e);
Openbox::instance->screen(_screen)->unmanageWindow(this);
}
-
-void OBClient::mapRequestHandler(const XMapRequestEvent &e)
-{
- printf("\nMAP REQUEST\n\n");
-
- otk::OtkEventHandler::mapRequestHandler(e);
-
- if (_shaded)
- shade(false);
- // XXX: uniconify the window
- focus();
-}
-
}