mirror of
https://github.com/0intro/wmii
synced 2024-11-22 22:02:30 +03:00
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
/*
|
|
* (C)opyright MMIV-MMV Anselm R. Garbe <garbeam at gmail dot com>
|
|
* See LICENSE file for license details.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <math.h>
|
|
|
|
#include "wm.h"
|
|
#include "layout.h"
|
|
|
|
#include <cext.h>
|
|
|
|
static void init_float(Area * a);
|
|
static void deinit_float(Area * a);
|
|
static void arrange_float(Area * a);
|
|
static void attach_float(Area * a, Client * c);
|
|
static void detach_float(Area * a, Client * c, int unmapped, int destroyed);
|
|
static void resize_float(Frame * f, XRectangle * new, XPoint * pt);
|
|
|
|
static Layout lfloat = { "float", init_float, deinit_float, arrange_float, attach_float, detach_float, resize_float };
|
|
|
|
void init_layout_float()
|
|
{
|
|
layouts = (Layout **) attach_item_end((void **) layouts, &lfloat, sizeof(Layout *));
|
|
}
|
|
|
|
|
|
static void arrange_float(Area * a)
|
|
{
|
|
}
|
|
|
|
static void init_float(Area * a)
|
|
{
|
|
}
|
|
|
|
static void deinit_float(Area * a)
|
|
{
|
|
}
|
|
|
|
static void attach_float(Area * a, Client * c)
|
|
{
|
|
}
|
|
|
|
static void detach_float(Area * a, Client * c, int unmapped, int destroyed)
|
|
{
|
|
}
|
|
|
|
static void resize_float(Frame * f, XRectangle * new, XPoint * pt)
|
|
{
|
|
}
|