aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index 1c84154..3529ebf 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -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.cc,v 1.11 2003/07/01 20:24:19 fluxgen Exp $ 22// $Id: FbCommands.cc,v 1.12 2003/07/19 13:51:24 rathnor Exp $
23 23
24#include "FbCommands.hh" 24#include "FbCommands.hh"
25#include "fluxbox.hh" 25#include "fluxbox.hh"
@@ -47,10 +47,10 @@ void ExecuteCmd::execute() {
47 char intbuff[64]; 47 char intbuff[64];
48 int screen_num = m_screen_num; 48 int screen_num = m_screen_num;
49 if (screen_num < 0) { 49 if (screen_num < 0) {
50 if (Fluxbox::instance()->keyScreen() == 0) 50 if (Fluxbox::instance()->mouseScreen() == 0)
51 screen_num = 0; 51 screen_num = 0;
52 else 52 else
53 screen_num = Fluxbox::instance()->keyScreen()->screenNumber(); 53 screen_num = Fluxbox::instance()->mouseScreen()->screenNumber();
54 } 54 }
55 55
56 sprintf(intbuff, "%d", screen_num); 56 sprintf(intbuff, "%d", screen_num);