diff options
author | fluxgen <fluxgen> | 2003-04-28 00:38:42 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-28 00:38:42 (GMT) |
commit | 92f49bd8744037bc4812cdacde27b439b5353679 (patch) | |
tree | 401546faa2a08196d5e58f6fce156ee296288f22 /src/FbCommands.hh | |
parent | 45fff3a4b21e60c93f8c4a6fa9601f7005dac4eb (diff) | |
download | fluxbox-92f49bd8744037bc4812cdacde27b439b5353679.zip fluxbox-92f49bd8744037bc4812cdacde27b439b5353679.tar.bz2 |
fixed execute on right screen
Diffstat (limited to 'src/FbCommands.hh')
-rw-r--r-- | src/FbCommands.hh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbCommands.hh b/src/FbCommands.hh index 6901d6f..1056b6f 100644 --- a/src/FbCommands.hh +++ b/src/FbCommands.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbCommands.hh,v 1.3 2003/04/16 13:33:18 fluxgen Exp $ | 22 | // $Id: FbCommands.hh,v 1.4 2003/04/28 00:34:06 fluxgen Exp $ |
23 | 23 | ||
24 | // \file contains basic commands to restart, reconfigure, execute command and exit fluxbox | 24 | // \file contains basic commands to restart, reconfigure, execute command and exit fluxbox |
25 | 25 | ||
@@ -35,10 +35,11 @@ namespace FbCommands { | |||
35 | /// executes a system command | 35 | /// executes a system command |
36 | class ExecuteCmd: public FbTk::Command { | 36 | class ExecuteCmd: public FbTk::Command { |
37 | public: | 37 | public: |
38 | explicit ExecuteCmd(const std::string &cmd); | 38 | ExecuteCmd(const std::string &cmd, int screen_num); |
39 | void execute(); | 39 | void execute(); |
40 | private: | 40 | private: |
41 | std::string m_cmd; | 41 | std::string m_cmd; |
42 | const int m_screen_num; | ||
42 | }; | 43 | }; |
43 | 44 | ||
44 | /// exit fluxbox | 45 | /// exit fluxbox |