diff options
author | oga <oga> | 2008-03-18 00:48:56 +0000 |
---|---|---|
committer | oga <oga> | 2008-03-18 00:48:56 +0000 |
commit | f85ba10437bfc58fabf8ccd98a1a8db858651a48 (patch) | |
tree | f727cb649fa97f93338870a0810f7f1b10af5109 /conf.c | |
parent | a466ddaa2dca046693e819644ef527327de8f1a3 (diff) | |
download | cwm-f85ba10437bfc58fabf8ccd98a1a8db858651a48.tar.gz cwm-f85ba10437bfc58fabf8ccd98a1a8db858651a48.tar.xz cwm-f85ba10437bfc58fabf8ccd98a1a8db858651a48.zip |
client_{,r}cycle() doens't need a client. so get rid of KBFUNC_NEEDSCLIENT.
this prevents the issue where you close or hide a window, and end up with no client selected (you're on the root window). When that happened alt-tab failed. This, however, exposed to me a few more issues in the alt-tabbing code: -the code to detect how many lines we need looks bogus (you always get three) -alt-tabbing when everything is hidden always reawakes the most recent window. Fixes for these will be forthcoming. ok simon@.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c index bc0e0e8..f6bd5df 100644 --- a/conf.c +++ b/conf.c @@ -345,8 +345,8 @@ struct { { "search", kbfunc_client_search, 0, 0 }, { "menusearch", kbfunc_menu_search, 0, 0 }, { "hide", kbfunc_client_hide, KBFLAG_NEEDCLIENT, 0 }, - { "cycle", kbfunc_client_cycle, KBFLAG_NEEDCLIENT, 0 }, - { "rcycle", kbfunc_client_rcycle, KBFLAG_NEEDCLIENT, 0 }, + { "cycle", kbfunc_client_cycle, 0, 0 }, + { "rcycle", kbfunc_client_rcycle, 0, 0 }, { "label", kbfunc_client_label, KBFLAG_NEEDCLIENT, 0 }, { "delete", kbfunc_client_delete, KBFLAG_NEEDCLIENT, 0 }, { "ptrmoveup", kbfunc_ptrmove, 0, (void *)CWM_UP }, |