all repos — fluxbox @ 90dc9ca68083a4a786fa336e7462a274cc06c60e

custom fork of the fluxbox windowmanager

init m_background_pm
fluxgen fluxgen
commit

90dc9ca68083a4a786fa336e7462a274cc06c60e

parent

7981cc0fc77566fce821d5543f4ecb2f302f8062

1 files changed, 3 insertions(+), 1 deletions(-)

jump to
M src/FbTk/Button.ccsrc/FbTk/Button.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Button.cc,v 1.6 2003/04/28 22:21:56 fluxgen Exp $ +// $Id: Button.cc,v 1.7 2003/05/07 11:35:22 fluxgen Exp $ #include "Button.hh"

@@ -34,6 +34,7 @@ unsigned int width, unsigned int height):

m_win(screen_num, x, y, width, height, ExposureMask | ButtonPressMask | ButtonReleaseMask), m_foreground_pm(0), + m_background_pm(0), m_pressed_pm(0), m_gc(DefaultGC(FbTk::App::instance()->display(), screen_num)), m_pressed(false) {

@@ -47,6 +48,7 @@ unsigned int width, unsigned int height):

m_win(parent, x, y, width, height, ExposureMask | ButtonPressMask | ButtonReleaseMask), m_foreground_pm(0), + m_background_pm(0), m_pressed_pm(0), m_gc(DefaultGC(FbTk::App::instance()->display(), m_win.screenNumber())), m_pressed(false) {