all repos — fluxbox @ 805f58193208bf65676bad624f83716c57109ace

custom fork of the fluxbox windowmanager

minor fix for separator in windowmenu
fluxgen fluxgen
commit

805f58193208bf65676bad624f83716c57109ace

parent

5c4291ab123de52f8561395a25bbd23fa99c08ea

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/MenuCreator.ccsrc/MenuCreator.cc

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MenuCreator.cc,v 1.1 2004/05/02 20:59:29 fluxgen Exp $ +// $Id: MenuCreator.cc,v 1.2 2004/05/02 22:17:00 fluxgen Exp $ #include "MenuCreator.hh"

@@ -413,7 +413,9 @@ *screen->layerManager().getLayer(Fluxbox::instance()->getMenuLayer()),

&win, false)); - } else + } else if (type == "separator") { + menu.insert("---"); + } else return false; #undef WINDOWNLS