Continue to use my script

svn path=/trunk/KDE/kdepim/karm/; revision=456644
wilder-work
Laurent Montel 21 years ago
parent 79ac728299
commit e4358e26aa
  1. 3
      filterlogdlg.cpp
  2. 3
      searchwindow.cpp

@ -48,6 +48,7 @@
#include <errno.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <QX11Info>
using namespace KMail;
@ -159,7 +160,7 @@ FilterLogDialog::FilterLogDialog( QWidget * parent )
// HACK - KWin keeps all dialogs on top of their mainwindows, but that's probably
// wrong (#76026), and should be done only for modals. CVS HEAD should get
// proper fix in KWin (see also searchwindow.cpp)
XDeleteProperty( qt_xdisplay(), winId(), XA_WM_TRANSIENT_FOR );
XDeleteProperty( QX11Info::display(), winId(), XA_WM_TRANSIENT_FOR );
#endif
}

@ -55,6 +55,7 @@
#include <assert.h>
#include <stdlib.h>
#include <QX11Info>
namespace KMail {
@ -80,7 +81,7 @@ SearchWindow::SearchWindow(KMMainWidget* w, const char* name,
// HACK - KWin keeps all dialogs on top of their mainwindows, but that's probably
// wrong (#76026), and should be done only for modals. CVS HEAD should get
// proper fix in KWin (l.lunak@kde.org)
XDeleteProperty( qt_xdisplay(), winId(), XA_WM_TRANSIENT_FOR );
XDeleteProperty( QX11Info::display(), winId(), XA_WM_TRANSIENT_FOR );
#endif
KWin::setIcons(winId(), kapp->icon(), kapp->miniIcon());

Loading…
Cancel
Save