~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to add_window.c

  • Committer: Matthew Fuller
  • Date: 2016-08-13 14:05:56 UTC
  • mto: This revision was merged to the branch mainline in revision 514.
  • Revision ID: fullermd@over-yonder.net-20160813140556-7ldhxyc7y0qbv4nv
Switch split functions over to using enum too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
void DealWithNonSensicalGeometries(Display *dpy, Window vroot,
112
112
                                   TwmWindow *tmp_win);
113
113
 
114
 
static void             splitWindowRegionEntry(WindowEntry     *we,
115
 
                int grav1, int grav2,
116
 
                int w, int h);
 
114
static void splitWindowRegionEntry(WindowEntry *we,
 
115
                RegGravity grav1, RegGravity grav2, int w, int h);
117
116
static WindowEntry      *findWindowEntry(WorkSpace    *wl,
118
117
                TwmWindow    *tmp_win,
119
118
                WindowRegion **wrp);
2185
2184
        return true;
2186
2185
}
2187
2186
 
2188
 
static void splitWindowRegionEntry(WindowEntry *we, int grav1, int grav2,
2189
 
                                   int w, int h)
 
2187
static void splitWindowRegionEntry(WindowEntry *we,
 
2188
                RegGravity grav1, RegGravity grav2, int w, int h)
2190
2189
{
2191
2190
        switch(grav1) {
2192
2191
                case GRAV_NORTH: