aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-22 08:45:35 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-22 08:45:35 (GMT)
commit1ec4fb6b6cb6d4b93dddc40c59abf62552445ad2 (patch)
tree9d3c5b39bc22ca0e01327e988c96cd7b273d6bdc /src/fluxbox.cc
parent6d749d6f1a79f609b1a123fad013ae8bc25888ce (diff)
downloadfluxbox-1ec4fb6b6cb6d4b93dddc40c59abf62552445ad2.zip
fluxbox-1ec4fb6b6cb6d4b93dddc40c59abf62552445ad2.tar.bz2
Cosmetic
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc22
1 files changed, 5 insertions, 17 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 5771cb3..ab05f56 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -81,21 +81,9 @@
81 81
82// system headers 82// system headers
83 83
84#ifdef HAVE_CSTDIO 84#include <cstdio>
85 #include <cstdio> 85#include <cstdlib>
86#else 86#include <cstring>
87 #include <stdio.h>
88#endif
89#ifdef HAVE_CSTDLIB
90 #include <cstdlib>
91#else
92 #include <stdlib.h>
93#endif
94#ifdef HAVE_CSTRING
95 #include <cstring>
96#else
97 #include <string.h>
98#endif
99 87
100#ifdef HAVE_UNISTD_H 88#ifdef HAVE_UNISTD_H
101#include <sys/types.h> 89#include <sys/types.h>
@@ -1302,8 +1290,8 @@ void Fluxbox::revertFocus() {
1302 return; // already handled 1290 return; // already handled
1303 1291
1304 Window win; 1292 Window win;
1305 int blah; 1293 int ignore;
1306 XGetInputFocus(display(), &win, &blah); 1294 XGetInputFocus(display(), &win, &ignore);
1307 1295
1308 // we only want to revert focus if it's left dangling, as some other 1296 // we only want to revert focus if it's left dangling, as some other
1309 // application may have set the focus to an unmanaged window 1297 // application may have set the focus to an unmanaged window