minor fixes
This commit is contained in:
parent
92782ef4d4
commit
3075af90d6
1 changed files with 9 additions and 8 deletions
|
@ -22,7 +22,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
// DEALINGS IN THE SOFTWARE.
|
||||
|
||||
// $Id: Window.cc,v 1.56 2002/06/02 22:43:20 fluxgen Exp $
|
||||
// $Id: Window.cc,v 1.57 2002/06/02 23:35:30 fluxgen Exp $
|
||||
|
||||
#include "Window.hh"
|
||||
|
||||
|
@ -1266,7 +1266,7 @@ void FluxboxWindow::reconfigure() {
|
|||
tab->withdraw();
|
||||
}
|
||||
} else {
|
||||
if (tab) { //got a tab? then destroy it
|
||||
if (tab != 0) { //got a tab? then destroy it
|
||||
delete tab;
|
||||
tab = 0;
|
||||
}
|
||||
|
@ -2889,7 +2889,8 @@ void FluxboxWindow::propertyNotifyEvent(Atom atom) {
|
|||
|
||||
case XA_WM_ICON_NAME:
|
||||
getWMIconName();
|
||||
if (iconic) screen->iconUpdate();
|
||||
if (iconic)
|
||||
screen->iconUpdate();
|
||||
updateIcon();
|
||||
break;
|
||||
|
||||
|
@ -2916,10 +2917,10 @@ void FluxboxWindow::propertyNotifyEvent(Atom atom) {
|
|||
if ((client.normal_hint_flags & PMinSize) &&
|
||||
(client.normal_hint_flags & PMaxSize)) {
|
||||
if (client.max_width <= client.min_width &&
|
||||
client.max_height <= client.min_height)
|
||||
client.max_height <= client.min_height) {
|
||||
decorations.maximize = decorations.handle =
|
||||
functions.resize = functions.maximize = false;
|
||||
else {
|
||||
} else {
|
||||
decorations.handle = false;
|
||||
decorations.maximize = functions.resize = functions.maximize = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue