diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-05-27 03:55:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-05-27 03:55:18 +0000 |
| commit | b0f8eab0e6be1448e54db56cbed9c01b3a79020e (patch) | |
| tree | f18fb59efacfcaac43e14d29826b7fd99fe0d084 /src | |
| parent | 341c4e04ffc5572dc02563df914dc65a0a57b9f3 (diff) | |
make window menu behavior consistant. ignore !button1.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Windowmenu.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Windowmenu.cc b/src/Windowmenu.cc index f274a047..7de61dbd 100644 --- a/src/Windowmenu.cc +++ b/src/Windowmenu.cc @@ -90,6 +90,9 @@ void Windowmenu::show(void) { void Windowmenu::itemSelected(int button, unsigned int index) { + if (button != 1) + return; + BasemenuItem *item = find(index); hide(); @@ -103,7 +106,7 @@ void Windowmenu::itemSelected(int button, unsigned int index) { break; case BScreen::WindowMaximize: - window->maximize(button); + window->maximize(1); // full maximize break; case BScreen::WindowClose: |
