diff options
Diffstat (limited to 'libmetacity/meta-frame-borders.c')
-rw-r--r-- | libmetacity/meta-frame-borders.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libmetacity/meta-frame-borders.c b/libmetacity/meta-frame-borders.c new file mode 100644 index 00000000..603ae858 --- /dev/null +++ b/libmetacity/meta-frame-borders.c @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2001 Havoc Pennington + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "config.h" + +#include "meta-frame-borders.h" + +void +meta_frame_borders_clear (MetaFrameBorders *self) +{ + self->visible.top = self->invisible.top = self->total.top = 0; + self->visible.bottom = self->invisible.bottom = self->total.bottom = 0; + self->visible.left = self->invisible.left = self->total.left = 0; + self->visible.right = self->invisible.right = self->total.right = 0; +} |