diff options
author | fluxgen <fluxgen> | 2004-03-30 13:48:38 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-03-30 13:48:38 (GMT) |
commit | 209ba75bac5f6109d2a2929bc8b1f8c81d22925a (patch) | |
tree | 2b08ad469dff3f75fe092ab9f880f4d3661431d6 /src/Window.cc | |
parent | 3f235e2ef5388ff5004afdd751c44007a557cc28 (diff) | |
download | fluxbox-209ba75bac5f6109d2a2929bc8b1f8c81d22925a.zip fluxbox-209ba75bac5f6109d2a2929bc8b1f8c81d22925a.tar.bz2 |
optional decoration of transient windows, patch from Scott Moser
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index ac719c0..106f8fe 100644 --- a/src/Window.cc +++ b/src/Window.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: Window.cc,v 1.272 2004/03/28 17:48:20 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.273 2004/03/30 13:48:38 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -464,7 +464,7 @@ void FluxboxWindow::init() { | |||
464 | m_client->updateTransientInfo(); | 464 | m_client->updateTransientInfo(); |
465 | 465 | ||
466 | // adjust the window decorations based on transience and window sizes | 466 | // adjust the window decorations based on transience and window sizes |
467 | if (m_client->isTransient()) { | 467 | if (m_client->isTransient() && !screen().decorateTransient()) { |
468 | decorations.maximize = functions.maximize = false; | 468 | decorations.maximize = functions.maximize = false; |
469 | decorations.handle = false; | 469 | decorations.handle = false; |
470 | } | 470 | } |