diff options
Diffstat (limited to 'libdecor/src/libdecor-fallback.c')
| -rw-r--r-- | libdecor/src/libdecor-fallback.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libdecor/src/libdecor-fallback.c b/libdecor/src/libdecor-fallback.c index 7f5f2fddc..ea0d35b03 100644 --- a/libdecor/src/libdecor-fallback.c +++ b/libdecor/src/libdecor-fallback.c @@ -150,7 +150,14 @@ libdecor_plugin_fallback_frame_get_border_size(struct libdecor_plugin *plugin, int *top, int *bottom) { - *left = *right = *top = *bottom = 0; + if (left) + *left = 0; + if (right) + *right = 0; + if (top) + *top = 0; + if (bottom) + *bottom = 0; return true; } |
