summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-06-13 11:01:47 (GMT)
committerfluxgen <fluxgen>2004-06-13 11:01:47 (GMT)
commit2475b2debcd9bd6f318ff1dcde8020ebeb81f11c (patch)
tree79d385f654f085cc7b781ec2d91e65d6f116bae4 /src
parent05a1b55901faaec99647e1b64ca78e72acce5c2e (diff)
downloadfluxbox_lack-2475b2debcd9bd6f318ff1dcde8020ebeb81f11c.zip
fluxbox_lack-2475b2debcd9bd6f318ff1dcde8020ebeb81f11c.tar.bz2
minor fixes
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index c26145c..37b06e0 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.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: fluxbox.cc,v 1.243 2004/06/07 11:46:04 rathnor Exp $ 25// $Id: fluxbox.cc,v 1.244 2004/06/13 11:01:47 fluxgen Exp $
26 26
27#include "fluxbox.hh" 27#include "fluxbox.hh"
28 28
@@ -1064,7 +1064,7 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
1064 int mx = be.x_root - 1064 int mx = be.x_root -
1065 (screen->getWorkspacemenu().width() / 2); 1065 (screen->getWorkspacemenu().width() / 2);
1066 int my = be.y_root - 1066 int my = be.y_root -
1067 (screen->getWorkspacemenu().titleHeight() / 2); 1067 (screen->getWorkspacemenu().titleWindow().height() / 2);
1068 1068
1069 if (mx < 0) mx = 0; 1069 if (mx < 0) mx = 0;
1070 if (my < 0) my = 0; 1070 if (my < 0) my = 0;
@@ -1094,7 +1094,7 @@ void Fluxbox::handleButtonEvent(XButtonEvent &be) {
1094 int mx = be.x_root - 1094 int mx = be.x_root -
1095 (screen->getRootmenu().width() / 2); 1095 (screen->getRootmenu().width() / 2);
1096 int my = be.y_root - 1096 int my = be.y_root -
1097 (screen->getRootmenu().titleHeight() / 2); 1097 (screen->getRootmenu().titleWindow().height() / 2);
1098 int borderw = screen->getRootmenu().fbwindow().borderWidth(); 1098 int borderw = screen->getRootmenu().fbwindow().borderWidth();
1099 1099
1100 if (mx < 0) mx = 0; 1100 if (mx < 0) mx = 0;
@@ -2026,10 +2026,9 @@ void Fluxbox::setFocusedWindow(WinClient *client) {
2026 screen->updateNetizenWindowFocus(); 2026 screen->updateNetizenWindowFocus();
2027 for (AtomHandlerContainerIt it= m_atomhandler.begin(); 2027 for (AtomHandlerContainerIt it= m_atomhandler.begin();
2028 it != m_atomhandler.end(); it++) { 2028 it != m_atomhandler.end(); it++) {
2029
2030 (*it).first->updateFocusedWindow(*screen, (m_focused_window ? 2029 (*it).first->updateFocusedWindow(*screen, (m_focused_window ?
2031 m_focused_window->window() : 2030 m_focused_window->window() :
2032 0)); 2031 0));
2033 } 2032 }
2034 } 2033 }
2035 2034