aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-04-11 18:26:00 (GMT)
committermathias <mathias>2006-04-11 18:26:00 (GMT)
commita6551852bb5cc860c2ba62b4b70ec269dcd9eb40 (patch)
tree08dcf3ca5fd07a1f9983abaffe10ed403f4f2199 /src/Screen.cc
parentf1a6c9100b2b11ece591cf7d7f49eba7527a02f4 (diff)
downloadfluxbox_pavel-a6551852bb5cc860c2ba62b4b70ec269dcd9eb40.zip
fluxbox_pavel-a6551852bb5cc860c2ba62b4b70ec269dcd9eb40.tar.bz2
fixed size_t issue with prevWorkspace, minor cosmetic changes to Screen.hh
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 4eae1b6..5dd5f9a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1913,7 +1913,7 @@ void BScreen::nextWorkspace(const int delta) {
1913 Goes to the workspace "left" of the current 1913 Goes to the workspace "left" of the current
1914*/ 1914*/
1915void BScreen::prevWorkspace(const int delta) { 1915void BScreen::prevWorkspace(const int delta) {
1916 changeWorkspaceID( (currentWorkspaceID() - delta + numberOfWorkspaces()) % numberOfWorkspaces()); 1916 changeWorkspaceID( (static_cast<signed>(numberOfWorkspaces()) + currentWorkspaceID() - (delta % numberOfWorkspaces())) % numberOfWorkspaces());
1917} 1917}
1918 1918
1919/** 1919/**