setDesktop(openbox->screen(_screen)->desktop());
if (_shaded)
shade(false);
- // XXX: deiconify
focus();
openbox->screen(_screen)->raiseWindow(this);
+ } else if (e.message_type == otk::Property::atoms.openbox_active_window) {
+ if (_iconic)
+ setDesktop(openbox->screen(_screen)->desktop());
+ if (e.data.l[0] && _shaded)
+ shade(false);
+ focus();
+ if (e.data.l[1])
+ openbox->screen(_screen)->raiseWindow(this);
}
}
{
XWindowAttributes wa;
if (XGetWindowAttributes(**otk::display, _window, &wa)) {
- printf("%snstalling Window Colormap 0x%lx!\n", install ? "I" : "Uni", _window);
if (install)
XInstallColormap(**otk::display, wa.colormap);
else