diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-06-08 12:05:36 +0300 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-06-08 21:38:12 +0300 |
commit | 700e87eab8ab1bcd0c9e2c063c9b83c2345d0788 (patch) | |
tree | 78a2cdc5d35634b490c240f8e71cfa6ad6557252 /libmetacity/meta-frame-borders.h | |
parent | 3b5562274cb6584d251652e796ef3e9c1ebb9bcd (diff) | |
download | metacity-700e87eab8ab1bcd0c9e2c063c9b83c2345d0788.tar.gz |
libmetacity: add `shadow` and `resize` borders
Diffstat (limited to 'libmetacity/meta-frame-borders.h')
-rw-r--r-- | libmetacity/meta-frame-borders.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libmetacity/meta-frame-borders.h b/libmetacity/meta-frame-borders.h index 71df5e8c..599ceb76 100644 --- a/libmetacity/meta-frame-borders.h +++ b/libmetacity/meta-frame-borders.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2001 Havoc Pennington + * Copyright (C) 2016 Alberts Muktupāvels * * 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 @@ -24,18 +25,14 @@ G_BEGIN_DECLS typedef struct { - /* The frame border is made up of two pieces - an inner visible portion - * and an outer portion that is invisible but responds to events. - */ GtkBorder visible; + GtkBorder shadow; + GtkBorder resize; GtkBorder invisible; - - /* For convenience, we have a "total" border which is equal to the sum - * of the two borders above. */ GtkBorder total; } MetaFrameBorders; -void meta_frame_borders_clear (MetaFrameBorders *self); +void meta_frame_borders_clear (MetaFrameBorders *borders); G_END_DECLS |