Ok I forgot to mention that I use Twinview and not xinerama, sorry for that.
I have tracked down the issue, wel a little bit.. I use a config with a GF4-4600 ultra with 2 flatpanels in Twinview mode + a PCI card with only a TV attached. So i have 2 screens :0.0 (Twinview) and :0.1 Single screen on my TV, i have removed the TV config parts from my xorg.conf and it works like it should now :-) So I guess this is a driver issue, wel it sucks because I really like the whole "Rightclick -> TVplay" stuff I have in konqueror... What I hoped to recieve in response to the question about fixing the FullScreen function was some code (FvwmScript??) that would let me detect what half on the Xinerama screen a window is on. I was hoping I could learn from that and make functions which would for example open a new firefox window in the secondary screen when the primary screen already contains a firefox window. Stuff like that would really make the whole xinerama stuff really cool. Again sorry for not providing you with the full details of the problem, I tested it with kde after I send the question and the problem was the same there.. no fvwm problem really. So is any of you guys running fvwm-crystal with Xinerama/Twinview, if so and you already fixed some stuff that doesn't work well now please let me know. I have fixed most of the problems but not all, and some not very elegant, I have my config in a cvs repo now so perhaps we can share.. Mark. On Tuesday 25 January 2005 00:08, you wrote: > Hi i was wondering if someone knew a nice way to fix a "Fullscreen" > function that i have here. > > The function now as i have it (not written by me, taken from fvwm-crystal) > basically just saves the current state of a window, moves it to the top > left corner of the screen, and resizes to the max of the screen. > After that some WindowStyle options are set. > > Since i am using Xinerama with these settings: > XineramaSlsScreens 2 1280x1024+1280+0 1280x1024+0+0 > XineramaSls On > XineramaPrimaryScreen 0 > Xinerama On > > It would be nice if the function: > 1. Decides on what Xinerama the window resides and adjusts the Move command > to move it to the top left corner of the Xinerama screen. > 2. Fullscreens only within the XineramaScreen it is in. > > Unfortunately i have no idea how to do this. > The Function(s): > ########### > DestroyFunc Fullscreen > AddToFunc Fullscreen > + I Fullscreen-Stop > + I Current (!Maximizable) Break > + I TestRc (False) Fullscreen-Start > > DestroyFunc Fullscreen-Start > AddToFunc Fullscreen-Start > + I Current (State 0) Break > + I SetEnv OldX-$[w.id] $[w.x] > + I SetEnv OldY-$[w.id] $[w.y] > + I SetEnv OldWidth-$[w.id] $[w.width] > + I SetEnv OldHeight-$[w.id] $[w.height] > + I Move 0p 0p > + I Resize 100 100 frame > #+ I Layer 0 5 > + I WindowStyle NoTitle, !Borders, StaysOnTop, !Iconifiable, !Maximizable > + I State 0 true > > DestroyFunc Fullscreen-Stop > AddToFunc Fullscreen-Stop > #+ I Current (!State 0) Break > + I DestroyWindowStyle > + I State 0 false > #+ I Layer 0 4 > + I PipeRead "echo ResizeMove \\$\\[OldWidth-$[w.id]\\]p > \\$\\[OldHeight-$[w.id]\\]p \\$\\[OldX-$[w.id]\\]p \\$\\[OldY-$[w.id]\\]p" > ########## > > Perhaps someone could also tell me how to fix the following problem (The > above is sort of a workaround for this problem): > Programs that really support fullscreen like mplayer always fullscreen over > both monitors..? How can i configure my setup so that these programs detect > the correct width of the monitor there on ? > > All the xinerama stuff still behaves somewhat strange on my setup and i > really don't understand why, other things i notice are: > 1 mplayerplug-in: When embedded in a browser it shows half of the screen, > only when I fullscreen/restore i see the whole "picture" > 2 kcontrol (Desktop -> Panels) allows you to identify your xinerama > screens, when I click "Identify" it shows the "1" in the center of the 2 > monitors, and the "2" centered (like it should be) on the left/secondary > monitor. > > Hope u have the awnsers ! > > Mark > -- > Visit the official FVWM web page at <URL: http://www.fvwm.org/>. > To unsubscribe from the list, send "unsubscribe fvwm" in the body of a > message to [EMAIL PROTECTED] > To report problems, send mail to [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
