#include "dock.h"
#include "client.h"
#include "frame.h"
+#include "prompt.h"
GHashTable *window_map;
case Window_Client:
return ((ObClient*)self)->frame->window;
case Window_Internal:
- return ((InternalWindow*)self)->win;
+ return ((InternalWindow*)self)->window;
+ case Window_Prompt:
+ return ((ObPrompt*)self)->super.window;
}
g_assert_not_reached();
return None;
}
-Window window_layer(ObWindow *self)
+ObStackingLayer window_layer(ObWindow *self)
{
switch (self->type) {
case Window_Menu:
case Window_Client:
return ((ObClient*)self)->layer;
case Window_Internal:
+ case Window_Prompt:
return OB_STACKING_LAYER_INTERNAL;
}
g_assert_not_reached();