#include "dock.h"
#include "client.h"
#include "frame.h"
+#include "prompt.h"
GHashTable *window_map;
return ((ObClient*)self)->frame->window;
case Window_Internal:
return ((InternalWindow*)self)->window;
+ case Window_Prompt:
+ return ((ObPrompt*)self)->super.window;
}
g_assert_not_reached();
return None;
return ((ObClient*)self)->layer;
case Window_Internal:
return OB_STACKING_LAYER_INTERNAL;
+ case Window_Prompt:
+ /* not used directly for stacking, prompts are managed as clients */
+ g_assert_not_reached();
+ break;
}
g_assert_not_reached();
return None;