aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-02-23 21:41:49 (GMT)
committerrathnor <rathnor>2003-02-23 21:41:49 (GMT)
commit9b98967032f8d07c309cd694dccf4427b162c4fa (patch)
tree22916cd15c67ea4ab7952b84b497b7e60ad7aed6 /src
parent67f5dd9dd79b5b6b5a4972cf31ba95692a1c2a88 (diff)
downloadfluxbox-9b98967032f8d07c309cd694dccf4427b162c4fa.zip
fluxbox-9b98967032f8d07c309cd694dccf4427b162c4fa.tar.bz2
fix sloppy focus to not lose focus on root window
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index a4832a8..58d6def 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.100 2003/02/23 00:53:31 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.101 2003/02/23 21:41:49 rathnor Exp $
26 26
27 27
28#include "fluxbox.hh" 28#include "fluxbox.hh"
@@ -731,10 +731,6 @@ void Fluxbox::handleEvent(XEvent * const e) {
731 (screen = searchScreen(e->xcrossing.window))) { 731 (screen = searchScreen(e->xcrossing.window))) {
732 screen->getImageControl()->installRootColormap(); 732 screen->getImageControl()->installRootColormap();
733 733
734 // if sloppy focus, then remove focus from windows
735 if (screen->isSloppyFocus() ||
736 screen->isSemiSloppyFocus())
737 setFocusedWindow(0);
738 } 734 }
739 735
740 } 736 }