fixed maximize over slit bug

This commit is contained in:
fluxgen 2002-01-11 12:30:22 +00:00
parent a3d2a1cf0a
commit aca8608cb6

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: Configmenu.cc,v 1.9 2002/01/11 09:20:42 fluxgen Exp $ // $Id: Configmenu.cc,v 1.10 2002/01/11 12:30:22 fluxgen Exp $
// stupid macros needed to access some functions in version 2 of the GNU C // stupid macros needed to access some functions in version 2 of the GNU C
// library // library
@ -199,14 +199,14 @@ void Configmenu::itemSelected(int button, int index) {
case 4: // focus new windows case 4: // focus new windows
screen->saveFocusNew((! screen->doFocusNew())); screen->saveFocusNew((! screen->doFocusNew()));
setItemSelected(index, screen->doFocusNew());
break;
case 6: // maximize over slit case 6: // maximize over slit
screen->saveMaxOverSlit((! screen->doMaxOverSlit())); screen->saveMaxOverSlit( !screen->doMaxOverSlit() );
setItemSelected(index, screen->doMaxOverSlit()); setItemSelected(index, screen->doMaxOverSlit());
break; break;
setItemSelected(index, screen->doFocusNew());
break;
case 5: // focus last window on workspace case 5: // focus last window on workspace
screen->saveFocusLast((! screen->doFocusLast())); screen->saveFocusLast((! screen->doFocusLast()));