From abc2d0dfeefdbfed4969fa8e6975c35973cdfdd7 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Sat, 13 Jun 2020 19:50:24 +0200 Subject: [PATCH] #574 fix inconsistencies when mixing sticky and float properties --- src/window_manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window_manager.h b/src/window_manager.h index bb7679eb..caa351c2 100644 --- a/src/window_manager.h +++ b/src/window_manager.h @@ -164,8 +164,8 @@ void window_manager_add_application_windows(struct space_manager *sm, struct win enum window_op_error window_manager_apply_grid(struct space_manager *sm, struct window_manager *wm, struct window *window, unsigned r, unsigned c, unsigned x, unsigned y, unsigned w, unsigned h); void window_manager_purify_window(struct window_manager *wm, struct window *window); void window_manager_make_window_floating(struct space_manager *sm, struct window_manager *wm, struct window *window, bool should_float); -void window_manager_make_window_sticky(struct space_manager *sm, struct window_manager *wm, struct window *window, bool sticky); -void window_manager_make_window_topmost(struct window_manager *wm, struct window *window, bool floating); +void window_manager_make_window_sticky(struct space_manager *sm, struct window_manager *wm, struct window *window, bool should_sticky); +void window_manager_make_window_topmost(struct window_manager *wm, struct window *window, bool topmost); void window_manager_set_sticky(uint32_t wid, bool sticky); void window_manager_set_layer(uint32_t wid, int layer); void window_manager_set_window_layer(struct window *window, int layer);