aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2020-03-24 14:47:29 +0000
committerWynn Wolf Arbor2020-03-26 20:12:46 +0100
commit19eacc39316879fb7008f3b71b36e52b09f3b464 (patch)
tree4d314e660401a208ac806d981d67b59cc179ba58 /calmwm.h
parent6230ae9cbeb69c9ed040e112328552e339d36d96 (diff)
downloadcwm-19eacc39316879fb7008f3b71b36e52b09f3b464.tar.gz
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.
Diffstat (limited to '')
-rw-r--r--calmwm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/calmwm.h b/calmwm.h
index cee10a7..bd15a87 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.h,v 1.373 2020/02/27 14:56:39 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.374 2020/03/24 14:47:29 okan Exp $
*/
#ifndef _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 *);