diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-15 16:27:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-15 16:27:02 +0000 |
| commit | a0c7fe1f1203006558ee09c8d9045d552e73cc7e (patch) | |
| tree | 80330228ab93d3d98e5a510edef7b5b83d2f613c /src | |
| parent | 2241f5c8eaa932d458791dc559f420b9dd58fef4 (diff) | |
sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
Diffstat (limited to 'src')
| -rw-r--r-- | src/Window.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index 8afe4cd5..4824a34a 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -153,7 +153,7 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) { 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 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 getTransientInfo(); + if (flags.stuck != s) stick(); + // adjust the window decorations based on transience if (isTransient()) { functions &= ~Func_Maximize; setAllowedActions(); setupDecor(); -// if (flags.stuck != s) stick(); } reconfigure(); |
