diff options
author | oga | 2008-05-19 15:17:50 +0000 |
---|---|---|
committer | oga | 2008-05-19 15:17:50 +0000 |
commit | a47b4ccaab4803eba1fb0774e26abd3ed06f9fd4 (patch) | |
tree | d464c9dc57d07c9f8085f6e6aa2865ba49f13fcb /conf.c | |
parent | 281da1fba3c4cf7c09351c088ec4f5793f9ce96e (diff) | |
download | cwm-a47b4ccaab4803eba1fb0774e26abd3ed06f9fd4.tar.gz |
Use the XGrabKeyboard hack in for alt-tabbing as well. This stops the
mru getting the order messed up when gvim/xpdf et all steal key events.
While i'm here, change the logic in client_cyclenext() to use break instead
of goto, it's nicer that way.
Thirdly, instead of two different kbfuncs, just use the one and a flag.
"put your cycle diff in so I can pkg_delete gvim" okan@
Diffstat (limited to '')
-rw-r--r-- | conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. * - * $Id: conf.c,v 1.32 2008/05/19 12:56:58 okan Exp $ + * $Id: conf.c,v 1.33 2008/05/19 15:17:50 oga Exp $ */ #include "headers.h" @@ -209,8 +209,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, 0, 0 }, - { "rcycle", kbfunc_client_rcycle, 0, 0 }, + { "cycle", kbfunc_client_cycle, 0, (void *)CWM_CYCLE }, + { "rcycle", kbfunc_client_cycle, 0, (void *)CWM_RCYCLE }, { "label", kbfunc_client_label, KBFLAG_NEEDCLIENT, 0 }, { "delete", kbfunc_client_delete, KBFLAG_NEEDCLIENT, 0 }, { "group1", kbfunc_client_group, 0, (void *)1 }, |