[sawfish: 4/6] Fix KDE focus behaviour also in transient-unmap-window.
- From: Christopher Bratusek <chrisb src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sawfish: 4/6] Fix KDE focus behaviour also in transient-unmap-window.
- Date: Wed, 7 Oct 2009 11:04:55 +0000 (UTC)
commit 14d7893b944c8f59722c1cbd839d45aa5699d591
Author: Timo Korvola <tkorvola iki fi>
Date: Sat Sep 22 21:43:02 2007 +0300
Fix KDE focus behaviour also in transient-unmap-window.
Transients for desktop windows are now treated like transients for the
root window. Mostly. The code defining the parent is a bit hairy.
lisp/sawfish/wm/state/transient.jl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lisp/sawfish/wm/state/transient.jl b/lisp/sawfish/wm/state/transient.jl
index e22e961..737485f 100644
--- a/lisp/sawfish/wm/state/transient.jl
+++ b/lisp/sawfish/wm/state/transient.jl
@@ -195,7 +195,8 @@ the level of any transient windows it has."
(not (window-mapped-p parent))
(not (window-visible-p parent))
(window-outside-viewport-p parent)
- (not (window-really-wants-input-p parent)))
+ (not (window-really-wants-input-p parent))
+ (window-get parent 'desktop))
;; if no parent, choose the topmost window (if in click-to-focus
;; mode) or the window under the pointer otherwise
(if (eq focus-mode 'click)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]