#include "frame.h"
#include "openbox.h"
#include "prompt.h"
+#include "edges.h"
#include "debug.h"
#include "grab.h"
#include "obt/prop.h"
return WINDOW_AS_INTERNAL(self)->window;
case OB_WINDOW_CLASS_PROMPT:
return WINDOW_AS_PROMPT(self)->super.window;
+ case OB_WINDOW_CLASS_EDGE:
+ return WINDOW_AS_EDGE(self)->win;
}
g_assert_not_reached();
return None;
return config_dock_layer;
case OB_WINDOW_CLASS_CLIENT:
return ((ObClient*)self)->layer;
+ case OB_WINDOW_CLASS_EDGE:
case OB_WINDOW_CLASS_MENUFRAME:
case OB_WINDOW_CLASS_INTERNAL:
return OB_STACKING_LAYER_INTERNAL;