aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-15 11:17:29 (GMT)
committerfluxgen <fluxgen>2003-05-15 11:17:29 (GMT)
commitcbce8634dde14fd7000fde92e86f4bd4bf3525c2 (patch)
treeb3be6c129906ecb67114616d761184cf3375c891 /src/FbWinFrame.cc
parent93220b5f1abee3057b292abb958a437ebbc707b4 (diff)
downloadfluxbox_pavel-cbce8634dde14fd7000fde92e86f4bd4bf3525c2.zip
fluxbox_pavel-cbce8634dde14fd7000fde92e86f4bd4bf3525c2.tar.bz2
cleaning in FluxboxWindow interface
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 8d33a3e..1ec9232 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.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: FbWinFrame.cc,v 1.23 2003/05/01 13:19:36 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.24 2003/05/15 11:17:26 fluxgen Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25#include "ImageControl.hh" 25#include "ImageControl.hh"
@@ -284,7 +284,6 @@ void FbWinFrame::setClientWindow(Window win) {
284 XSetWindowBorderWidth(display, win, 0); 284 XSetWindowBorderWidth(display, win, 0);
285 285
286 XChangeSaveSet(display, win, SetModeInsert); 286 XChangeSaveSet(display, win, SetModeInsert);
287
288 287
289 XSelectInput(display, m_clientarea.window(), NoEventMask); 288 XSelectInput(display, m_clientarea.window(), NoEventMask);
290 // we need to mask this so we don't get unmap event 289 // we need to mask this so we don't get unmap event
@@ -292,7 +291,7 @@ void FbWinFrame::setClientWindow(Window win) {
292 XReparentWindow(display, win, m_clientarea.window(), 0, 0); 291 XReparentWindow(display, win, m_clientarea.window(), 0, 0);
293 // remask window so we get events 292 // remask window so we get events
294 XSelectInput(display, win, PropertyChangeMask | StructureNotifyMask | 293 XSelectInput(display, win, PropertyChangeMask | StructureNotifyMask |
295 FocusChangeMask ); 294 FocusChangeMask);
296 XSelectInput(display, m_clientarea.window(), SubstructureRedirectMask); 295 XSelectInput(display, m_clientarea.window(), SubstructureRedirectMask);
297 296
298 XFlush(display); 297 XFlush(display);