diff options
author | onestone <onestone> | 2006-12-19 12:52:09 +0000 |
---|---|---|
committer | onestone <onestone> | 2006-12-19 12:52:09 +0000 |
commit | aea712b723a8cf2659a275b333b0a8a05769e3be (patch) | |
tree | 1ab7cdb8ff7b1f4cb2691392e68329fcf10ca023 /src | |
parent | e44afc75929e20f93ed53bc9880d59d1feb66044 (diff) | |
download | aquamarine-aea712b723a8cf2659a275b333b0a8a05769e3be.tar.gz aquamarine-aea712b723a8cf2659a275b333b0a8a05769e3be.tar.bz2 |
aquamarine: fixed building on x86 systems. Closes #408
Diffstat (limited to 'src')
-rw-r--r-- | src/window.cpp | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/src/window.cpp b/src/window.cpp index 46debec..cf852fc 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1571,6 +1571,25 @@ void Aquamarine::Window::performMouseCommand(Options::MouseCommand command, QMou } } +void Aquamarine::Window::setMapping (bool map) +{ + m_mapped = map; + if (!m_mapped) + m_shapeSet = false; +} + +void Aquamarine::Window::updateWindow () +{ + if (!m_mapped) return; + + if (m_updatePixmap) + { + updateWindowProperties(); + m_updatePixmap = false; + } + renderShadow(); +} + #if INT_MAX != LONG_MAX /* XRenderSetPictureFilter used to be broken on LP64. This * works with either the broken or fixed version. @@ -1599,24 +1618,6 @@ XRenderSetPictureFilter_wrapper (Display *dpy, } } -void Aquamarine::Window::setMapping (bool map) -{ - m_mapped = map; - if (!m_mapped) - m_shapeSet = false; -} - -void Aquamarine::Window::updateWindow () -{ - if (!m_mapped) return; - - if (m_updatePixmap) - { - updateWindowProperties(); - m_updatePixmap = false; - } - renderShadow(); -} #define XRenderSetPictureFilter XRenderSetPictureFilter_wrapper #endif |