#include "client.h"
#include "frame.h"
#include "openbox.h"
+#include "prompt.h"
#include "debug.h"
#include "grab.h"
return WINDOW_AS_CLIENT(self)->frame->window;
case OB_WINDOW_CLASS_INTERNAL:
return WINDOW_AS_INTERNAL(self)->window;
+ case OB_WINDOW_CLASS_PROMPT:
+ return WINDOW_AS_PROMPT(self)->super.window;
}
g_assert_not_reached();
return None;
return ((ObClient*)self)->layer;
case OB_WINDOW_CLASS_MENUFRAME:
case OB_WINDOW_CLASS_INTERNAL:
+ case OB_WINDOW_CLASS_PROMPT:
return OB_STACKING_LAYER_INTERNAL;
}
g_assert_not_reached();
dock_manage(icon_win, win);
}
else
- client_manage(win);
+ client_manage(win, NULL);
}
else {
grab_server(FALSE);