moved get_blur_size back to original spot (reduce diff size)
This commit is contained in:
parent
58fd78f389
commit
e0415f15bf
1 changed files with 4 additions and 4 deletions
|
@ -50,14 +50,14 @@ struct decoration_data get_undecorated_decoration_data() {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
bool should_parameters_blur() {
|
|
||||||
return config->blur_params.radius > 0 && config->blur_params.num_passes > 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int get_blur_size() {
|
int get_blur_size() {
|
||||||
return pow(2, config->blur_params.num_passes) * config->blur_params.radius;
|
return pow(2, config->blur_params.num_passes) * config->blur_params.radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool should_parameters_blur() {
|
||||||
|
return config->blur_params.radius > 0 && config->blur_params.num_passes > 0;
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: contribute wlroots function to allow creating an fbox from a box?
|
// TODO: contribute wlroots function to allow creating an fbox from a box?
|
||||||
struct wlr_fbox wlr_fbox_from_wlr_box(struct wlr_box *box) {
|
struct wlr_fbox wlr_fbox_from_wlr_box(struct wlr_box *box) {
|
||||||
return (struct wlr_fbox) {
|
return (struct wlr_fbox) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue