diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index b3011fb..d999871 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.159 2003/06/18 13:51:37 fluxgen Exp $ | 25 | // $Id: fluxbox.cc,v 1.160 2003/06/23 13:35:45 fluxgen Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -830,7 +830,7 @@ void Fluxbox::handleEvent(XEvent * const e) { | |||
830 | break; | 830 | break; |
831 | // most of them are handled in FluxboxWindow::handleEvent | 831 | // most of them are handled in FluxboxWindow::handleEvent |
832 | // but some special cases like ewmh propertys needs to be checked | 832 | // but some special cases like ewmh propertys needs to be checked |
833 | for (int i=0; i<m_atomhandler.size(); ++i) { | 833 | for (size_t i=0; i<m_atomhandler.size(); ++i) { |
834 | if (m_atomhandler[i]->propertyNotify(*win, e->xproperty.atom)) | 834 | if (m_atomhandler[i]->propertyNotify(*win, e->xproperty.atom)) |
835 | break; | 835 | break; |
836 | } | 836 | } |
@@ -2130,11 +2130,6 @@ void Fluxbox::load_rc(BScreen &screen) { | |||
2130 | screen.saveClock24Hour(false); | 2130 | screen.saveClock24Hour(false); |
2131 | #endif // HAVE_STRFTIME | 2131 | #endif // HAVE_STRFTIME |
2132 | 2132 | ||
2133 | //check size on toolbarwidth percent | ||
2134 | if (screen.getToolbarWidthPercent() <= 0 || | ||
2135 | screen.getToolbarWidthPercent() > 100) | ||
2136 | screen.saveToolbarWidthPercent(66); | ||
2137 | |||
2138 | } | 2133 | } |
2139 | 2134 | ||
2140 | void Fluxbox::loadRootCommand(BScreen &screen) { | 2135 | void Fluxbox::loadRootCommand(BScreen &screen) { |