aboutsummaryrefslogtreecommitdiff
path: root/src/Basemenu.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-09-10 10:50:04 (GMT)
committerfluxgen <fluxgen>2002-09-10 10:50:04 (GMT)
commit92fbd4b4c5404c0d8c62e9778327f8ddde78052d (patch)
treefcc3fc96adfcc2c97c4a5a56afa9302777f173ff /src/Basemenu.cc
parenta7dc6a68c91bafbc59e2239ef89e546831febcfd (diff)
downloadfluxbox-92fbd4b4c5404c0d8c62e9778327f8ddde78052d.zip
fluxbox-92fbd4b4c5404c0d8c62e9778327f8ddde78052d.tar.bz2
raise and lower functions
Diffstat (limited to 'src/Basemenu.cc')
-rw-r--r--src/Basemenu.cc13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index 2f7de99..1d1abc2 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Basemenu.cc,v 1.29 2002/09/09 10:01:41 fluxgen Exp $ 25// $Id: Basemenu.cc,v 1.30 2002/09/10 10:50:04 fluxgen Exp $
26 26
27//use GNU extensions 27//use GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -160,7 +160,7 @@ m_alignment(ALIGNDONTCARE) {
160} 160}
161 161
162 162
163Basemenu::~Basemenu(void) { 163Basemenu::~Basemenu() {
164 XUnmapWindow(m_display, menu.window); 164 XUnmapWindow(m_display, menu.window);
165 165
166 if (shown && shown->windowID() == windowID()) 166 if (shown && shown->windowID() == windowID())
@@ -254,8 +254,15 @@ int Basemenu::remove(unsigned int index) {
254 return menuitems.size(); 254 return menuitems.size();
255} 255}
256 256
257void Basemenu::raise() {
258 XRaiseWindow(BaseDisplay::getXDisplay(), windowID());
259}
260
261void Basemenu::lower() {
262 XLowerWindow(BaseDisplay::getXDisplay(), windowID());
263}
257 264
258void Basemenu::update(void) { 265void Basemenu::update() {
259 I18n *i18n = I18n::instance(); 266 I18n *i18n = I18n::instance();
260 267
261 if (i18n->multibyte()) { 268 if (i18n->multibyte()) {