failure notice (fwd)
Ryan C. Gordon
icculus at clutteredmind.org
Sat Feb 1 15:50:36 EST 2003
(in case the code snippet is important to anyone and didn't make it to
the list otherwise...)
--ryan.
---------- Forwarded message ----------
Date: 1 Feb 2003 12:07:28 -0000
From: "MAILER-DAEMON at icculus.org" <MAILER-DAEMON at icculus.org>
To: "postmaster at icculus.org" <postmaster at icculus.org>
Subject: failure notice
Hi. This is the qmail-send program at icculus.org.
I tried to deliver a bounce message to this address, but the bounce bounced!
<rv101 at rv101.dyndns.org>:
Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
I'm not going to try again; this message has been in the queue too long.
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 13460 invoked for bounce); 25 Jan 2003 11:07:24 -0000
Date: 25 Jan 2003 11:07:24 -0000
From: MAILER-DAEMON at icculus.org
To: rv101 at rv101.dyndns.org
Subject: failure notice
Hi. This is the qmail-send program at icculus.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<openbox at icculus.org>:
Sorry, only subscribers may post. If you are a subscriber, please forward this message to openbox-owner at icculus.org to get your new address included (#5.7.2)
--- Below this line is a copy of the message.
Return-Path: <rv101 at rv101.dyndns.org>
Received: (qmail 13454 invoked from network); 25 Jan 2003 11:07:24 -0000
Received: from d217-47.res.umontreal.ca (HELO doc.rv101.dyndns.org) (132.204.217.47)
by gamehenge.icculus.org with SMTP; 25 Jan 2003 11:07:24 -0000
Received: by doc.rv101.dyndns.org (Postfix, from userid 1000)
id 2F09C7386; Sat, 25 Jan 2003 06:07:25 -0500 (EST)
Date: Sat, 25 Jan 2003 06:07:25 -0500
From: Herve Lombaert <herve.lombaert at polymtl.ca>
To: openbox at icculus.org
Subject: window list when clicking on toolbar
Message-ID: <20030125110725.GB27445 at rv101.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Organization: Polytechnique
X-Operating-System: Linux indeed!
User-Agent: Mutt/1.5.3i
Hello,
I'm new with openbox. I've made a little modification to the openbox
toolbar. When the window_label frame is clicked with button 1, the
current workspace menu is showed.
I know the usual way would be to middle click somewhere on the desktop,
but I often have plenty of windows that cover my desktop. With a toolbar
always on top, I do have access to that workspace menu again.
It's an alternative to using the previous/next window button pwbutton:
the graphical workspace menu listing all opened windows is, in my
opinion, more convivial.
Is that modification worth a look?
----------------- Added to Toolbar.cc
----------------- In function Toolbar::buttonPressEvent
if (be->button == 1) {
// ...
else if (be->window == frame.window_label ) {
int x, y;
Workspace* wkspc = screen->getCurrentWorkspace();
Clientmenu* wkspcmenu = wkspc->getMenu();
x = be->x_root;
y = be->y_root;
if (x + wkspcmenu->getWidth() > screen->getWidth())
x = screen->getWidth() - wkspcmenu->getWidth();
if (y + wkspcmenu->getHeight() > screen->getHeight())
y = screen->getHeight() - wkspcmenu->getHeight();
wkspcmenu->move(x, y);
wkspcmenu->show();
}
//...
----------------- End of modification
-----------------
--
Herve' Lombaert <herve.lombaert at polymtl.ca>
-------------------------------------------
Linux! Works great, less filling.
-- From a Slashdot.org post
More information about the openbox
mailing list