CTWM
|
#include "ctwm.h"
#include <stdlib.h>
#include "list.h"
#include "screen.h"
#include "win_regions.h"
#include "xparsegeometry.h"
Go to the source code of this file.
Functions | |
static void | splitWindowRegionEntry (WindowEntry *we, RegGravity grav1, RegGravity grav2, int w, int h) |
static WindowEntry * | findWindowEntry (WorkSpace *wl, TwmWindow *tmp_win, WindowRegion **wrp) |
static WindowEntry * | prevWindowEntry (WindowEntry *we, WindowRegion *wr) |
static void | mergeWindowEntries (WindowEntry *old, WindowEntry *we) |
name_list ** | AddWindowRegion (char *geom, RegGravity grav1, RegGravity grav2) |
void | CreateWindowRegions (void) |
bool | PlaceWindowInRegion (TwmWindow *tmp_win, int *final_x, int *final_y) |
void | RemoveWindowFromRegion (TwmWindow *tmp_win) |
name_list ** AddWindowRegion | ( | char * | geom, |
RegGravity | grav1, | ||
RegGravity | grav2 ) |
Definition at line 29 of file win_regions.c.
References WindowRegion::clientlist, WindowRegion::entries, WindowRegion::grav1, WindowRegion::grav2, WindowRegion::h, WindowRegion::next, PlaceX, RLayoutXParseGeometry(), Scr, WindowRegion::w, WindowRegion::x, and WindowRegion::y.
Definition at line 67 of file win_regions.c.
References WindowRegion::entries, WorkSpace::FirstWindowRegion, WindowRegion::next, WorkSpace::next, PlaceX, and Scr.
Referenced by ctwm_main().
|
static |
Definition at line 275 of file win_regions.c.
References WindowRegion::entries, WorkSpace::FirstWindowRegion, WindowRegion::next, and PlaceX.
Referenced by RemoveWindowFromRegion().
|
static |
Definition at line 308 of file win_regions.c.
References PlaceX, and WindowEntry::w.
Referenced by RemoveWindowFromRegion().
Definition at line 107 of file win_regions.c.
References WindowRegion::clientlist, WindowRegion::entries, WorkSpace::FirstWindowRegion, WindowRegion::grav1, WindowRegion::grav2, LookInList(), name_list::name, WindowRegion::next, WorkSpace::next, OCCUPY, PlaceX, Scr, and splitWindowRegionEntry().
Referenced by AddWindow(), and ChangeOccupation().
|
static |
Definition at line 295 of file win_regions.c.
References WindowRegion::entries, and PlaceX.
Referenced by RemoveWindowFromRegion().
Definition at line 164 of file win_regions.c.
References findWindowEntry(), mergeWindowEntries(), WorkSpace::next, PlaceX, prevWindowEntry(), and Scr.
Referenced by ChangeOccupation(), and HandleDestroyNotify().
|
static |
Definition at line 219 of file win_regions.c.
References GRAV_EAST, GRAV_NORTH, GRAV_SOUTH, GRAV_WEST, PlaceX, and splitWindowRegionEntry().
Referenced by PlaceWindowInRegion(), and splitWindowRegionEntry().