pretend to be CDE to improve interoperability with Sun's latest JDK.
svn path=/trunk/kdebase/kwin/; revision=89307
This commit is contained in:
parent
93d660d0c8
commit
57e86d69be
2 changed files with 6 additions and 5 deletions
|
@ -44,6 +44,10 @@ Atoms::Atoms()
|
|||
|
||||
atoms[n] = &kde_wm_change_state;
|
||||
names[n++] = (char *) "_KDE_WM_CHANGE_STATE";
|
||||
|
||||
Atom fake;
|
||||
atoms[n] = &fake;
|
||||
names[n++] = (char *) "DT_SM_WINDOW_INFO";
|
||||
|
||||
XInternAtoms( qt_xdisplay(), names, n, FALSE, atoms_return );
|
||||
for (int i = 0; i < n; i++ )
|
||||
|
|
|
@ -756,7 +756,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
|||
delete session;
|
||||
|
||||
sendSyntheticConfigureNotify();
|
||||
|
||||
|
||||
if ( showMe && !doNotShow ) {
|
||||
Events::raise( isTransient() ? Events::TransNew : Events::New );
|
||||
if ( isMapped ) {
|
||||
|
@ -1007,8 +1007,6 @@ bool Client::configureRequest( XConfigureRequestEvent& e )
|
|||
if ( isShade() )
|
||||
setShade( FALSE );
|
||||
|
||||
qDebug("configureRequest %s: %d %d %d %d", caption().latin1(), e.x, e.y, e.width, e.height );
|
||||
/*
|
||||
// compress configure requests
|
||||
XEvent otherEvent;
|
||||
while (XCheckTypedWindowEvent (qt_xdisplay(), win,
|
||||
|
@ -1020,11 +1018,10 @@ bool Client::configureRequest( XConfigureRequestEvent& e )
|
|||
break;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
bool stacking = e.value_mask & CWStackMode;
|
||||
int stack_mode = e.detail;
|
||||
|
||||
|
||||
if ( e.value_mask & CWBorderWidth ) {
|
||||
// first, get rid of a window border
|
||||
XWindowChanges wc;
|
||||
|
|
Loading…
Reference in a new issue