From 6c20772841684c18d85b45888de01e538f2999b4 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 24 Mar 2020 14:47:29 +0000 Subject: Instead of using _NET_ACTIVE_WINDOW on restart, use the pointer location to determine what client to set active. Reduces a round trip for every window. --- calmwm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index b15a39e..6fa5906 100644 --- a/calmwm.h +++ b/calmwm.h @@ -395,7 +395,7 @@ void client_get_sizehints(struct client_ctx *); void client_hide(struct client_ctx *); void client_htile(struct client_ctx *); int client_inbound(struct client_ctx *, int, int); -struct client_ctx *client_init(Window, struct screen_ctx *, int); +struct client_ctx *client_init(Window, struct screen_ctx *); void client_lower(struct client_ctx *); void client_move(struct client_ctx *); void client_mtf(struct client_ctx *); @@ -563,7 +563,6 @@ void xu_ewmh_net_workarea(struct screen_ctx *); void xu_ewmh_net_client_list(struct screen_ctx *); void xu_ewmh_net_client_list_stacking(struct screen_ctx *); void xu_ewmh_net_active_window(struct screen_ctx *, Window); -Window xu_ewmh_get_net_active_window(struct screen_ctx *); void xu_ewmh_net_number_of_desktops(struct screen_ctx *); void xu_ewmh_net_showing_desktop(struct screen_ctx *); void xu_ewmh_net_virtual_roots(struct screen_ctx *); -- cgit 1.4.1