all repos — fluxbox @ e4ae8cf3eb110941eec0c4fc0f5d2f2bf8f959c9

custom fork of the fluxbox windowmanager

minor stuff
fluxgen fluxgen
commit

e4ae8cf3eb110941eec0c4fc0f5d2f2bf8f959c9

parent

ffcc409ad9b7364cfff46e4257d0a6eba98b07bf

1 files changed, 6 insertions(+), 5 deletions(-)

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

@@ -22,7 +22,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: Basemenu.cc,v 1.34 2002/11/12 22:15:06 fluxgen Exp $ +// $Id: Basemenu.cc,v 1.35 2002/11/15 14:24:59 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE

@@ -386,7 +386,7 @@ XMapSubwindows(m_display, menu.window);

} -void Basemenu::show(void) { +void Basemenu::show() { XMapSubwindows(m_display, menu.window); XMapWindow(m_display, menu.window); visible = True;

@@ -397,10 +397,11 @@ shown->hide();

shown = this; } + } -void Basemenu::hide(void) { +void Basemenu::hide() { if ((! torn) && hide_tree && m_parent && m_parent->isVisible()) { Basemenu *p = m_parent;

@@ -412,7 +413,7 @@ internal_hide();

} -void Basemenu::internal_hide(void) { +void Basemenu::internal_hide() { if (which_sub >= 0) { BasemenuItem *tmp = menuitems[which_sub]; tmp->submenu()->internal_hide();

@@ -840,7 +841,7 @@

if (which_sub >= 0) drawSubmenu(which_sub); } - + if (re->x >= 0 && re->x <= (signed) menu.width && re->y >= 0 && re->y <= (signed) menu.title_h) if (re->button == 3)