removed unused variables + cosmetic issue for some compilers (mipspro)
This commit is contained in:
parent
1d9a172a79
commit
70acd21472
1 changed files with 131 additions and 135 deletions
|
@ -22,7 +22,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: fluxbox.cc,v 1.261 2004/10/19 17:23:08 akir Exp $
|
||||
// $Id: fluxbox.cc,v 1.262 2004/10/21 10:18:40 akir Exp $
|
||||
|
||||
#include "fluxbox.hh"
|
||||
|
||||
|
@ -658,11 +658,9 @@ void Fluxbox::handleEvent(XEvent * const e) {
|
|||
handleButtonEvent(e->xbutton);
|
||||
break;
|
||||
case ConfigureRequest: {
|
||||
WinClient *winclient = (WinClient *) 0;
|
||||
|
||||
if ((winclient = searchWindow(e->xconfigurerequest.window))) {
|
||||
// already handled in FluxboxWindow::handleEvent
|
||||
} else {
|
||||
if (!searchWindow(e->xconfigurerequest.window)) {
|
||||
|
||||
grab();
|
||||
|
||||
if (validateWindow(e->xconfigurerequest.window)) {
|
||||
|
@ -682,7 +680,7 @@ void Fluxbox::handleEvent(XEvent * const e) {
|
|||
}
|
||||
|
||||
ungrab();
|
||||
}
|
||||
} // else already handled in FluxboxWindow::handleEvent
|
||||
|
||||
}
|
||||
break;
|
||||
|
@ -1758,7 +1756,6 @@ void Fluxbox::setFocusedWindow(WinClient *client) {
|
|||
#endif // DEBUG
|
||||
BScreen *old_screen = 0, *screen = 0;
|
||||
WinClient *old_client = 0;
|
||||
Workspace *old_wkspc = 0;
|
||||
|
||||
if (m_focused_window != 0) {
|
||||
// check if m_focused_window is valid
|
||||
|
@ -1781,7 +1778,6 @@ void Fluxbox::setFocusedWindow(WinClient *client) {
|
|||
|
||||
if (old_client->fbwindow()) {
|
||||
FluxboxWindow *old_win = old_client->fbwindow();
|
||||
old_wkspc = old_screen->getWorkspace(old_win->workspaceNumber());
|
||||
|
||||
if (!client || client->fbwindow() != old_win)
|
||||
old_win->setFocusFlag(false);
|
||||
|
|
Loading…
Reference in a new issue