diff --git a/CMakeLists.txt b/CMakeLists.txt index 039e156..c5159c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ set(wmfs_src add_executable(wmfs ${wmfs_src}) # Set the version -set(VERSION "WMFS-201003") +set(VERSION "WMFS-201004") # FLAGS set(CFLAGS "-Wall -ansi") diff --git a/src/tag.c b/src/tag.c index 59feacb..db67d7f 100644 --- a/src/tag.c +++ b/src/tag.c @@ -70,7 +70,6 @@ tag_set(int tag) if(tags[selscreen][prevseltag[selscreen]].barpos != tags[selscreen][seltag[selscreen]].barpos) infobar_set_position(tags[selscreen][seltag[selscreen]].barpos); - /* Check if a layout update is needed with additional tags */ if(tags[selscreen][seltag[selscreen]].tagad) al = True; diff --git a/wmfsrc.in b/wmfsrc.in index 1dd5ca9..e01df62 100644 --- a/wmfsrc.in +++ b/wmfsrc.in @@ -56,6 +56,13 @@ # Border around the tag buttons. border = true + # Mouse buttons action on tag. + mouse_button_tag_sel = "1" + mouse_button_tag_transfert = "2" + mouse_button_tag_add = "3" + mouse_button_tag_next = "4" + mouse_button_tag_prev = "5" + [tag] name = "one" screen = 0 @@ -64,6 +71,8 @@ layout = "tile_right" resizehint = false infobar_position = "top" + + #[mouse] [/mouse] Possible multi mouse section [/tag] [tag] name = "two" clients = {"Browser"} [/tag] @@ -260,6 +269,18 @@ [key] mod = {"Alt", "Shift"} key = "F7" func = "tag_transfert" cmd ="7" [/key] [key] mod = {"Alt", "Shift"} key = "F8" func = "tag_transfert" cmd ="8" [/key] [key] mod = {"Alt", "Shift"} key = "F9" func = "tag_transfert" cmd ="9" [/key] + + # Toggle additional tags (x) on the current tag + [key] mod = {"Alt", "Super"} key = "F1" func = "tag_toggle_additional" cmd ="1" [/key] + [key] mod = {"Alt", "Super"} key = "F2" func = "tag_toggle_additional" cmd ="2" [/key] + [key] mod = {"Alt", "Super"} key = "F3" func = "tag_toggle_additional" cmd ="3" [/key] + [key] mod = {"Alt", "Super"} key = "F4" func = "tag_toggle_additional" cmd ="4" [/key] + [key] mod = {"Alt", "Super"} key = "F5" func = "tag_toggle_additional" cmd ="5" [/key] + [key] mod = {"Alt", "Super"} key = "F6" func = "tag_toggle_additional" cmd ="6" [/key] + [key] mod = {"Alt", "Super"} key = "F7" func = "tag_toggle_additional" cmd ="7" [/key] + [key] mod = {"Alt", "Super"} key = "F8" func = "tag_toggle_additional" cmd ="8" [/key] + [key] mod = {"Alt", "Super"} key = "F9" func = "tag_toggle_additional" cmd ="9" [/key] + [/keys]