aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-07 11:35:22 (GMT)
committerfluxgen <fluxgen>2003-05-07 11:35:22 (GMT)
commit90dc9ca68083a4a786fa336e7462a274cc06c60e (patch)
tree907c2d5fe181b8bc73bb66d41d8f9eb7f92bd140
parent7981cc0fc77566fce821d5543f4ecb2f302f8062 (diff)
downloadfluxbox_paul-90dc9ca68083a4a786fa336e7462a274cc06c60e.zip
fluxbox_paul-90dc9ca68083a4a786fa336e7462a274cc06c60e.tar.bz2
init m_background_pm
-rw-r--r--src/FbTk/Button.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Button.cc b/src/FbTk/Button.cc
index a807592..1ef25d2 100644
--- a/src/FbTk/Button.cc
+++ b/src/FbTk/Button.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Button.cc,v 1.6 2003/04/28 22:21:56 fluxgen Exp $ 22// $Id: Button.cc,v 1.7 2003/05/07 11:35:22 fluxgen Exp $
23 23
24#include "Button.hh" 24#include "Button.hh"
25 25
@@ -34,6 +34,7 @@ Button::Button(int screen_num, int x, int y,
34 m_win(screen_num, x, y, width, height, 34 m_win(screen_num, x, y, width, height,
35 ExposureMask | ButtonPressMask | ButtonReleaseMask), 35 ExposureMask | ButtonPressMask | ButtonReleaseMask),
36 m_foreground_pm(0), 36 m_foreground_pm(0),
37 m_background_pm(0),
37 m_pressed_pm(0), 38 m_pressed_pm(0),
38 m_gc(DefaultGC(FbTk::App::instance()->display(), screen_num)), 39 m_gc(DefaultGC(FbTk::App::instance()->display(), screen_num)),
39 m_pressed(false) { 40 m_pressed(false) {
@@ -47,6 +48,7 @@ Button::Button(const FbWindow &parent, int x, int y,
47 m_win(parent, x, y, width, height, 48 m_win(parent, x, y, width, height,
48 ExposureMask | ButtonPressMask | ButtonReleaseMask), 49 ExposureMask | ButtonPressMask | ButtonReleaseMask),
49 m_foreground_pm(0), 50 m_foreground_pm(0),
51 m_background_pm(0),
50 m_pressed_pm(0), 52 m_pressed_pm(0),
51 m_gc(DefaultGC(FbTk::App::instance()->display(), m_win.screenNumber())), 53 m_gc(DefaultGC(FbTk::App::instance()->display(), m_win.screenNumber())),
52 m_pressed(false) { 54 m_pressed(false) {