lbivens / wmii

Automatically exported from code.google.com/p/wmii
MIT License
0 stars 0 forks source link

Floating layer, select left/right fails #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two windows in the "floating" layer side-by-side
2. In a terminal, type: wmiir xwrite /tag/sel/ctl select left

(or "select right", observed behavior is identical) 

What is the expected output? What do you see instead?

Expected: Window to the left is selected (or right)

Observed: No change in window selection and wmiir responds with the error:
wmiir: fatal: cannot write file '/tag/sel/ctl': bad value

What version of the product are you using (wmii -v)? On what operating system?

WMII Version: wmii-20080520, ©2007 Kris Maglione
OS Version: Debian Lenny

Please provide any additional information below.

up/down select actions work as expected.

Original issue reported on code.google.com by morri...@gmail.com on 24 May 2008 at 1:39

GoogleCodeExporter commented 9 years ago
This is an enhancement, not a defect. The floating layer has no columns, so 
up/down,
left/right retain their meaning. up/down switches between clients in the given 
area,
left/right switches between areas. Making left/right work requires different
semantics, and I haven't decided on any yet.

Original comment by maglion...@gmail.com on 24 May 2008 at 9:51

GoogleCodeExporter commented 9 years ago
Perhaps you could cycle between (1) client positions on the screen and (2) 
z-index:

[client0]
  [client1]
  [client2]

When client2 is focused, and left is pressed, it would focus client0 because 
it's the
nearest left client.  If up is pressed, it would focus client1 because it's the
nearest up client.

[client0/1]

When clients overlap each other, up/down can cycle the z-index.

What do you think?

Original comment by sun...@gmail.com on 29 Sep 2009 at 8:59