[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmonad
Subject:    Re: [xmonad] Desktop integration, problem with screen focus
From:       Brandon Allbery <allbery.b () gmail ! com>
Date:       2012-11-14 19:28:50
Message-ID: CAKFCL4WyUuu_bCoTDV=DXmw4TY5__-5_5SgQ5b1Lh-LbVPYEUA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Wed, Nov 14, 2012 at 4:39 AM, Hans Chen <hanswchen@gmail.com> wrote:

> From what I understand xmonad creates virtual root windows on each screen
> to detect if focus should


xmonad neither uses nor cares about virtual root windows; they're the sort
of thing desktop managers use.  Where did you get this idea?

Instead it is rather likely that xmonad is lazy about the notion of screen
focus; in many ways, a workspace with no windows "doesn't exist" even if
it's on a screen, because in practice a workspace is defined by its
windows. In particular, much of the concept of "workspace" is created by
the layoutHook, which usually doesn't do anything if there are no windows.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net

[Attachment #5 (text/html)]

<div dir="ltr">On Wed, Nov 14, 2012 at 4:39 AM, Hans Chen <span dir="ltr">&lt;<a \
href="mailto:hanswchen@gmail.com" target="_blank">hanswchen@gmail.com</a>&gt;</span> \
wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 \
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> From what I understand xmonad \
creates virtual root windows on each screen to detect if focus should \
</blockquote><div><br></div><div>xmonad neither uses nor cares about virtual root \
windows; they&#39;re the sort of thing desktop managers use.   Where did you get this \
idea?</div> <div><br></div><div>Instead it is rather likely that xmonad is lazy about \
the notion of screen focus; in many ways, a workspace with no windows \
&quot;doesn&#39;t exist&quot; even if it&#39;s on a screen, because in practice a \
workspace is defined by its windows. In particular, much of the concept of \
&quot;workspace&quot; is created by the layoutHook, which usually doesn&#39;t do \
anything if there are no windows.</div> <div><br></div></div>-- <br><div \
dir="ltr"><div>brandon s allbery kf8nh                                              \
sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" \
target="_blank">allbery.b@gmail.com</a>                                               \
<a href="mailto:ballbery@sinenomine.net" \
target="_blank">ballbery@sinenomine.net</a></div> <div>unix/linux, openafs, kerberos, \
infrastructure               <a href="http://sinenomine.net" \
target="_blank">http://sinenomine.net</a></div></div><br> </div>



_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic