From f1452eef54192893847a57310197b0b35b3bef98 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 4 Jun 2007 19:16:09 +0000 Subject: [PATCH] merge 7342-45 from trunk --- CHANGELOG | 6 ++++++ openbox/place.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 1bb196b9..8f293918 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,13 +1,19 @@ 3.4: * Add Indian Bengali translation + * Updated Italian translation + * Small updates to Czech, Estonian, Norwegian, and German translations * Removed out-of-date Japanese translation (ja.po) * Removed out-of-date Croatian translation (hr.po) + * Allow parentrelative theme textures to have borders and bevels * Add new theme elements: window.active.title.separator.color and window.inactive.title.separator.color (note that globbing might set these properties when you didnt mean to) * Add new underMouse focus option * Rename new theme element menu.items.activedisabled to menu.items.active.disabled for consistency with other elements + * Improvements to smart placement - especially with xinerama (Twinview) + * Fix bug #3196 - Unable to alt-tab away from full-screen windows + * Fix crash in parsing empty xml fields * Fix left and right contexts resizing the wrong way in the example mouse focus config file * Fix so dock doesn't auto-hide when the mouse is inside it (over top of a diff --git a/openbox/place.c b/openbox/place.c index f1409be6..ea131bea 100644 --- a/openbox/place.c +++ b/openbox/place.c @@ -268,7 +268,10 @@ typedef enum } ObSmartType; #define SMART_IGNORE(placer, c) \ - (placer == c || c->shaded || !client_normal(c) || !c->frame->visible || \ + (placer == c || c->shaded || !c->frame->visible || \ + c->type == OB_CLIENT_TYPE_SPLASH || c->type == OB_CLIENT_TYPE_DESKTOP || \ + ((c->type == OB_CLIENT_TYPE_MENU || c->type == OB_CLIENT_TYPE_TOOLBAR) &&\ + client_has_parent(c)) || \ (c->desktop != DESKTOP_ALL && \ c->desktop != (placer->desktop == DESKTOP_ALL ? \ screen_desktop : placer->desktop))) -- 2.34.1