- struct WinConf * wcp = get_winconf_by_win(world, win);
- if (0 == wcp->height_type)
- {
- wcp->height_type = 1;
- }
- else
- {
- wcp->height_type = 0;
- }
- set_winconf_geometry(world, wcp->id);
-}
-
-
-
-extern void toggle_win_width_type(struct World * world, struct Win * win)
-{
- struct WinConf * wcp = get_winconf_by_win(world, win);
- if ( 0 == wcp->width_type
- && win->frame.size.x <= world->wmeta->padframe.size.x)
- {
- wcp->width_type = 1;
- }
- else