summaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index e139f74..4eae1b6 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -158,7 +158,9 @@ int anotherWMRunning(Display *display, XErrorEvent *) {
158 158
159class TabPlacementMenuItem: public FbTk::MenuItem { 159class TabPlacementMenuItem: public FbTk::MenuItem {
160public: 160public:
161 TabPlacementMenuItem(const char * label, BScreen &screen, FbWinFrame::TabPlacement place, FbTk::RefCount<FbTk::Command> &cmd): 161 TabPlacementMenuItem(const char * label, BScreen &screen,
162 FbWinFrame::TabPlacement place,
163 FbTk::RefCount<FbTk::Command> &cmd):
162 FbTk::MenuItem(label, cmd), 164 FbTk::MenuItem(label, cmd),
163 m_screen(screen), 165 m_screen(screen),
164 m_place(place) { } 166 m_place(place) { }
@@ -853,7 +855,7 @@ void BScreen::reconfigure() {
853 if (restore_menus) { 855 if (restore_menus) {
854 // restore submenus, no timestamp changed 856 // restore submenus, no timestamp changed
855 FbTk::Menu *menu = m_rootmenu.get(); 857 FbTk::Menu *menu = m_rootmenu.get();
856 for (unsigned int i = 0; i < remember_sub.size(); i++ ) { 858 for (size_t i = 0; i < remember_sub.size(); i++ ) {
857 int sub = remember_sub[i]; 859 int sub = remember_sub[i];
858 if (!menu || sub < 0) 860 if (!menu || sub < 0)
859 break; 861 break;