Hi!

I don't know if this has been already discussed here... a search of
the archives failed to reveal anything though.
focus_last_focused_per_desktop doesn't seem to work well when sticky
windows are present. Trouble is, focus_stack is a global focus stack
rather than a per-desk variable, and hence sticky windows get a single
entry wherever they are viewed. Now, if a sticky window has the focus
in some desk x, then it will always be brought to focus whenever a
switch to desk y is made, irrespective of whether it is the last
window to be viewed there, since the non-sticky windows of desk y will
be buried beneath this sticky window. Further, even if a sticky window
is never brought to focus, it will always get the focus if
focus_revert_on_hide_or_close is set, since all non-sticky windows of
desk x are hidden before the switch, ultimately leaving the sticky
window at the top of the stack.

Currently, I have a sticky gkrellm, and focus always goes to it on any
desktop shift, which is highly annoying...

May be we will need a per-desk focus stack or store focus stack
entries as a (desk, window) tuple, so that we can get multiple entries
for sticky windows, one for each desk appearance.

Ramkumar.

--
WARN_(accel)("msg null; should hang here to be win compatible\n");
                                   -- WINE source code


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to