// -*- mode: C++; indent-tabs-mode: nil; -*-
-// actions.cc for Epistophy - a key handler for NETWM/EWMH window managers.
+// actions.cc for Epistrophy - a key handler for NETWM/EWMH window managers.
// Copyright (c) 2002 - 2002 Ben Jansens <ben at orodu.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a
return;
}
}
-
+
_numberParam = atoi( str.c_str() );
- if (type == changeWorkspace) // workspace 1 to the user is workspace 0 to us
+ // workspace 1 to the user is workspace 0 to us
+ if (type == changeWorkspace || type == sendToWorkspace)
_numberParam--;
}