Hello Tuomo,
Tuomo> You either don't really need the information, or you'd
Tuomo> simply want plain old X multihead with window migration
Tuomo> between screens, something that is only _artificially_
Tuomo> restricted when the bit depths are the same.
I don't know enough about X to fully understand your mail.
In my setup I do have a laptop and an external LCD with a different
resolution when I am in the office. I currently fold my applications
from the monitor to the laptop screen when I leave the office.
Are you saying I do not need Xinerama to achieve this or are you
saying that I need to implement that module if I ever want to upgrade
ion?
Thanks,
Ulrich
-- Xinerama configuration:
-- Screen "Screen0"
-- Screen "Screen1" LeftOf "Screen0"
function go_home ()
local right_screen = ioncore.find_screen_id(0)
local left_screen = ioncore.find_screen_id(1)
for _, r in pairs(left_screen:managed_list()) do
right_screen:attach(r)
end
end
function to_other_screen (r)
local left_screen = ioncore.find_screen_id(1)
local right_screen = ioncore.find_screen_id(0)
local ws = ioncore.find_manager(r, "WGroupWS")
local sc = ioncore.find_manager(ws, "WScreen")
if sc == left_screen then
right_screen:attach(ws)
else
left_screen:attach(ws)
end
end