sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
This commit is contained in:
parent
2241f5c8ea
commit
a0c7fe1f12
1 changed files with 3 additions and 2 deletions
|
@ -153,7 +153,7 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
|
||||||
windowmenu = 0;
|
windowmenu = 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
get the initial size and location of client window (relative to the
|
set the initial size and location of client window (relative to the
|
||||||
_root window_). This position is the reference point used with the
|
_root window_). This position is the reference point used with the
|
||||||
window's gravity to find the window's initial position.
|
window's gravity to find the window's initial position.
|
||||||
*/
|
*/
|
||||||
|
@ -2719,12 +2719,13 @@ void BlackboxWindow::propertyNotifyEvent(const XPropertyEvent *pe) {
|
||||||
// determine if this is a transient window
|
// determine if this is a transient window
|
||||||
getTransientInfo();
|
getTransientInfo();
|
||||||
|
|
||||||
|
if (flags.stuck != s) stick();
|
||||||
|
|
||||||
// adjust the window decorations based on transience
|
// adjust the window decorations based on transience
|
||||||
if (isTransient()) {
|
if (isTransient()) {
|
||||||
functions &= ~Func_Maximize;
|
functions &= ~Func_Maximize;
|
||||||
setAllowedActions();
|
setAllowedActions();
|
||||||
setupDecor();
|
setupDecor();
|
||||||
// if (flags.stuck != s) stick();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reconfigure();
|
reconfigure();
|
||||||
|
|
Loading…
Reference in a new issue