diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 22 |
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 |