Wmfsrc.in/Client: Only tile client can be swapped/ remove all tile_switch call in wmfsrc.in

This commit is contained in:
Martin Duquesnoy 2009-07-14 23:18:12 +02:00
parent fba3243ffe
commit 164efda501
2 changed files with 2 additions and 4 deletions

View File

@ -143,7 +143,7 @@ uicb_client_swap_next(uicb_t cmd)
{
Client *c = NULL;
if(!sel && !sel->tile)
if(!sel || !sel->tile)
return;
/* Find the next client */
@ -168,7 +168,7 @@ uicb_client_swap_prev(uicb_t cmd)
{
Client *c = NULL, *d;
if(!sel && !sel->tile)
if(!sel || !sel->tile)
return;
/* Find the previous client */

View File

@ -92,7 +92,6 @@ client
modifier = "Alt"
mouse { button = "1" func = "client_raise" }
mouse { button = "1" func = "mouse_move" }
mouse { button = "2" func = "tile_switch" }
mouse { button = "3" func = "client_raise" }
mouse { button = "3" func = "mouse_resize" }
@ -106,7 +105,6 @@ client
mouse { button = "1" func = "client_raise" }
mouse { button = "1" func = "mouse_move" }
mouse { button = "2" func = "tile_switch" }
mouse { button = "3" func = "client_raise" }
mouse { button = "3" func = "mouse_resize" }