Bug 2001 - Behaviour of fullscreen using xinerama
Status: CLOSED FIXED
Alias: None
Product: Openbox
Classification: Unclassified
Component: general
Version: unspecified
Hardware: PC Linux
: P2 normal
Assignee: Mikachu
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2004-10-28 12:35 EDT by Joaquin Aguirrezabalaga
Modified: 2007-05-16 15:52:36 EDT
0 users

See Also:


Attachments
The patch I described before (2.98 KB, patch)
2004-10-28 12:35 EDT, Joaquin Aguirrezabalaga
The rewritten patch (3.03 KB, patch)
2004-11-30 13:04 EST, Joaquin Aguirrezabalaga

Description Joaquin Aguirrezabalaga 2004-10-28 12:35:11 EDT
I have two monitors configured at home using xinerama. I'll call the one left
(the master) #1 and the one right #2. Whe I fullscreen a window on monitor #2 it
occupies that monitors full area, but leaves #1 untouched.

But, when I fullscreen a window on monitor #1 (the first head) it expands
through both monitors occuping both screens.

I wanted to be able to fullscreen a window on monitor #1 as I would do it on
monitor #2, that is, leaving the second monitor "free" for use with other
applications.

I've made a patch to accomplish this by setting an option in rc.xml
"coonfig_resize_xinerama_fullscreen". By default this option is "yes", and so we
get the original behaviour (fullscreen across both monitors). If we turn it to
"no", we'll get the behaviour I wanted (fullscreen only using current monitors
area).

I hope I explained it clear enough.
Comment 1 Joaquin Aguirrezabalaga 2004-10-28 12:35:57 EDT
Created attachment 522 [details]
The patch I described before
Comment 2 Joaquin Aguirrezabalaga 2004-11-30 13:03:19 EST
As Mike Wilson said on the openbox mailing list this problem doesn't occur in
xinerama, it occurs only using nVidia's twinview mode.
I've rewritten the patch so it reflects this.

Now instead of defining an xineramaFullscreen variable in rc.xml, the user
should define the twinviewFullscreen variable to 'yes' in the resize section in
rc.xml to solve the problem with twinview mode.
Comment 3 Joaquin Aguirrezabalaga 2004-11-30 13:04:43 EST
Created attachment 557 [details]
The rewritten patch

This changes variable xineramaFullscreen proposed to twinmodeFullscreen.