[hackers] [wmii] Send FocusTag event on startup

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Feb 12 23:37:23 2007

changeset: 1858:500f2bba512e
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Feb 12 17:33:35 2007 -0500
summary: Send FocusTag event on startup

diff -r a1afb8c633cc -r 500f2bba512e main.c
--- a/main.c Mon Feb 12 17:11:54 2007 -0500
+++ b/main.c Mon Feb 12 17:33:35 2007 -0500
@@ -362,6 +362,8 @@ main(int argc, char *argv[]) {
         scan_wins();
         starting = False;
         update_views();
+ if(view)
+ write_event("FocusTag %s\n", screen->sel->name);
 
         /* main event loop */
         errstr = ixp_server_loop(&srv);
Received on Mon Feb 12 2007 - 23:37:23 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:14 UTC