fix sloppy focus to not lose focus on root window
This commit is contained in:
parent
67f5dd9dd7
commit
9b98967032
1 changed files with 1 additions and 5 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: fluxbox.cc,v 1.100 2003/02/23 00:53:31 fluxgen Exp $
|
// $Id: fluxbox.cc,v 1.101 2003/02/23 21:41:49 rathnor Exp $
|
||||||
|
|
||||||
|
|
||||||
#include "fluxbox.hh"
|
#include "fluxbox.hh"
|
||||||
|
@ -731,10 +731,6 @@ void Fluxbox::handleEvent(XEvent * const e) {
|
||||||
(screen = searchScreen(e->xcrossing.window))) {
|
(screen = searchScreen(e->xcrossing.window))) {
|
||||||
screen->getImageControl()->installRootColormap();
|
screen->getImageControl()->installRootColormap();
|
||||||
|
|
||||||
// if sloppy focus, then remove focus from windows
|
|
||||||
if (screen->isSloppyFocus() ||
|
|
||||||
screen->isSemiSloppyFocus())
|
|
||||||
setFocusedWindow(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue