aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-11 12:30:22 (GMT)
committerfluxgen <fluxgen>2002-01-11 12:30:22 (GMT)
commitaca8608cb6316fff1e23acbeee6962e0b58b31fb (patch)
treee0c8dfe27f8a24f6223edd3976374ff8a0860d8a
parenta3d2a1cf0a5ab724e19a91915fe97842f52260d5 (diff)
downloadfluxbox_pavel-aca8608cb6316fff1e23acbeee6962e0b58b31fb.zip
fluxbox_pavel-aca8608cb6316fff1e23acbeee6962e0b58b31fb.tar.bz2
fixed maximize over slit bug
-rw-r--r--src/Configmenu.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Configmenu.cc b/src/Configmenu.cc
index b54dd1e..9e3edf2 100644
--- a/src/Configmenu.cc
+++ b/src/Configmenu.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Configmenu.cc,v 1.9 2002/01/11 09:20:42 fluxgen Exp $ 25// $Id: Configmenu.cc,v 1.10 2002/01/11 12:30:22 fluxgen Exp $
26 26
27// stupid macros needed to access some functions in version 2 of the GNU C 27// stupid macros needed to access some functions in version 2 of the GNU C
28// library 28// library
@@ -198,15 +198,15 @@ void Configmenu::itemSelected(int button, int index) {
198 break; 198 break;
199 case 4: // focus new windows 199 case 4: // focus new windows
200 screen->saveFocusNew((! screen->doFocusNew())); 200 screen->saveFocusNew((! screen->doFocusNew()));
201 201
202 setItemSelected(index, screen->doFocusNew());
203 break;
202 204
203 case 6: // maximize over slit 205 case 6: // maximize over slit
204 screen->saveMaxOverSlit((! screen->doMaxOverSlit())); 206 screen->saveMaxOverSlit( !screen->doMaxOverSlit() );
205 setItemSelected(index, screen->doMaxOverSlit()); 207 setItemSelected(index, screen->doMaxOverSlit());
206 break; 208 break;
207 209
208 setItemSelected(index, screen->doFocusNew());
209 break;
210 210
211 case 5: // focus last window on workspace 211 case 5: // focus last window on workspace
212 screen->saveFocusLast((! screen->doFocusLast())); 212 screen->saveFocusLast((! screen->doFocusLast()));