diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 83610ea..f710416 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -55,7 +55,8 @@ FbWinFrame::FbWinFrame(BScreen &screen, FbWinFrameTheme &theme, FbTk::ImageContr | |||
55 | m_imagectrl(imgctrl), | 55 | m_imagectrl(imgctrl), |
56 | m_window(theme.screenNum(), x, y, width, height, | 56 | m_window(theme.screenNum(), x, y, width, height, |
57 | ButtonPressMask | ButtonReleaseMask | | 57 | ButtonPressMask | ButtonReleaseMask | |
58 | ButtonMotionMask | EnterWindowMask, true), | 58 | ButtonMotionMask | EnterWindowMask | |
59 | LeaveWindowMask, true), | ||
59 | m_layeritem(window(), layer), | 60 | m_layeritem(window(), layer), |
60 | m_titlebar(m_window, 0, 0, 100, 16, | 61 | m_titlebar(m_window, 0, 0, 100, 16, |
61 | ButtonPressMask | ButtonReleaseMask | | 62 | ButtonPressMask | ButtonReleaseMask | |
@@ -666,7 +667,8 @@ void FbWinFrame::setClientWindow(FbTk::FbWindow &win) { | |||
666 | FocusChangeMask | KeyPressMask); | 667 | FocusChangeMask | KeyPressMask); |
667 | 668 | ||
668 | m_window.setEventMask(ButtonPressMask | ButtonReleaseMask | | 669 | m_window.setEventMask(ButtonPressMask | ButtonReleaseMask | |
669 | ButtonMotionMask | EnterWindowMask | SubstructureRedirectMask); | 670 | ButtonMotionMask | EnterWindowMask | |
671 | LeaveWindowMask | SubstructureRedirectMask); | ||
670 | 672 | ||
671 | XFlush(win.display()); | 673 | XFlush(win.display()); |
672 | 674 | ||