aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-04-29 02:53:34 (GMT)
committerfluxgen <fluxgen>2005-04-29 02:53:34 (GMT)
commit7e11e99f79b1308931985c3726c8febdab1da2c4 (patch)
tree798665b5468eec78e0eacf03df9f82e8b0893d09 /src
parentdba0d4ffb33c2cf05831987f7c51d6ac19cd387f (diff)
downloadfluxbox_paul-7e11e99f79b1308931985c3726c8febdab1da2c4.zip
fluxbox_paul-7e11e99f79b1308931985c3726c8febdab1da2c4.tar.bz2
minor stuff
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 299207e..ce3161a 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -370,7 +370,8 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
370 370
371 if (m_screen_list.empty()) { 371 if (m_screen_list.empty()) {
372 throw string(_FBTEXT(Fluxbox, ErrorNoScreens, 372 throw string(_FBTEXT(Fluxbox, ErrorNoScreens,
373 "Couldn't find screens to manage.\nMake sure you don't have another window manager running.", "Error message when no unmanaged screens found - usually means another window manager is running")); 373 "Couldn't find screens to manage.\nMake sure you don't have another window manager running.",
374 "Error message when no unmanaged screens found - usually means another window manager is running"));
374 } 375 }
375 376
376 m_keyscreen = m_mousescreen = m_screen_list.front(); 377 m_keyscreen = m_mousescreen = m_screen_list.front();
@@ -594,7 +595,9 @@ void Fluxbox::setupConfigFiles() {
594 // create directory with perm 700 595 // create directory with perm 700
595 if (mkdir(dirname.c_str(), 0700)) { 596 if (mkdir(dirname.c_str(), 0700)) {
596 fprintf(stderr, _FBTEXT(Fluxbox, ErrorCreatingDirectory, 597 fprintf(stderr, _FBTEXT(Fluxbox, ErrorCreatingDirectory,
597 "Can't create %s directory", "Can't create a directory, one %s for directory name"), dirname.c_str()); 598 "Can't create %s directory",
599 "Can't create a directory, one %s for directory name"),
600 dirname.c_str());
598 cerr<<endl; 601 cerr<<endl;
599 return; 602 return;
600 } 603 }
@@ -658,7 +661,6 @@ void Fluxbox::handleEvent(XEvent * const e) {
658 // we need to check focus out for menus before 661 // we need to check focus out for menus before
659 // we call FbTk eventhandler 662 // we call FbTk eventhandler
660 // so we can get FbTk::Menu::focused() before it sets to 0 663 // so we can get FbTk::Menu::focused() before it sets to 0
661
662 if (e->type == FocusOut && 664 if (e->type == FocusOut &&
663 e->xfocus.mode != NotifyGrab && 665 e->xfocus.mode != NotifyGrab &&
664 e->xfocus.detail != NotifyPointer && 666 e->xfocus.detail != NotifyPointer &&
@@ -828,7 +830,6 @@ void Fluxbox::handleEvent(XEvent * const e) {
828 830
829 } break; 831 } break;
830 case LeaveNotify: 832 case LeaveNotify:
831
832 m_last_time = e->xcrossing.time; 833 m_last_time = e->xcrossing.time;
833 break; 834 break;
834 case Expose: 835 case Expose: