Index: data/rc.xsd =================================================================== RCS file: /cvs/cvsroot/openbox/data/rc.xsd,v retrieving revision 1.17 diff -u -r1.17 rc.xsd --- data/rc.xsd 4 Nov 2004 12:13:25 -0000 1.17 +++ data/rc.xsd 30 Nov 2004 17:54:35 -0000 @@ -119,6 +119,7 @@ + Index: openbox/client.c =================================================================== RCS file: /cvs/cvsroot/openbox/openbox/client.c,v retrieving revision 1.329 diff -u -r1.329 client.c --- openbox/client.c 21 Oct 2004 20:54:59 -0000 1.329 +++ openbox/client.c 30 Nov 2004 17:54:46 -0000 @@ -1957,6 +1957,7 @@ #ifdef VIDMODE if (i == 0 && /* primary head */ + !config_resize_twinview_fullscreen && extensions_vidmode && XF86VidModeGetViewPort(ob_display, ob_screen, &x, &y) && /* get the mode last so the mode.privsize isnt freed incorrectly */ Index: openbox/config.c =================================================================== RCS file: /cvs/cvsroot/openbox/openbox/config.c,v retrieving revision 1.87 diff -u -r1.87 config.c --- openbox/config.c 4 Nov 2004 12:13:25 -0000 1.87 +++ openbox/config.c 30 Nov 2004 17:54:49 -0000 @@ -46,6 +46,7 @@ gboolean config_resize_four_corners; gint config_resize_popup_show; gint config_resize_popup_pos; +gboolean config_resize_twinview_fullscreen; ObStackingLayer config_dock_layer; gboolean config_dock_floating; @@ -319,6 +320,8 @@ else if (parse_contains("Center", doc, n)) config_resize_popup_pos = 0; } + if ((n = parse_find_node("twinviewFullscreen", node))) + config_resize_twinview_fullscreen = parse_bool(doc, n); } static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, @@ -565,6 +568,7 @@ config_resize_four_corners = FALSE; config_resize_popup_show = 1; /* nonpixel increments */ config_resize_popup_pos = 0; /* center of client */ + config_resize_twinview_fullscreen = FALSE; parse_register(i, "resize", parse_resize, NULL); Index: openbox/config.h =================================================================== RCS file: /cvs/cvsroot/openbox/openbox/config.h,v retrieving revision 1.54 diff -u -r1.54 config.h --- openbox/config.h 4 Nov 2004 12:13:25 -0000 1.54 +++ openbox/config.h 30 Nov 2004 17:54:50 -0000 @@ -53,6 +53,9 @@ extern gint config_resize_popup_show; /*! where to show the popup, currently above the window or centered */ extern gint config_resize_popup_pos; +/*! fixes fullscreen mode for windows in the primary head when working with + * nVidia's twinview */ +extern gboolean config_resize_twinview_fullscreen; /*! The stacking layer the dock will reside in */ extern ObStackingLayer config_dock_layer;