diff options
author | rathnor <rathnor> | 2003-06-27 15:05:19 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-27 15:05:19 (GMT) |
commit | a69b117fe4a2abb4eaeb70b41a98b0561912472c (patch) | |
tree | 1d5a794c39891cd39fdf47d539eda8eac78e811f /src/Screen.cc | |
parent | dce147f3c471ed65a1c473758293a83d655c1a8b (diff) | |
download | fluxbox-a69b117fe4a2abb4eaeb70b41a98b0561912472c.zip fluxbox-a69b117fe4a2abb4eaeb70b41a98b0561912472c.tar.bz2 |
fix slit netizen issues
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index b2d0190..eee6f2d 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.195 2003/06/25 05:47:23 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.196 2003/06/27 15:05:19 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -1034,13 +1034,11 @@ void BScreen::updateNetizenConfigNotify(XEvent &e) { | |||
1034 | FluxboxWindow *BScreen::createWindow(Window client) { | 1034 | FluxboxWindow *BScreen::createWindow(Window client) { |
1035 | WinClient *winclient = new WinClient(client, *this); | 1035 | WinClient *winclient = new WinClient(client, *this); |
1036 | 1036 | ||
1037 | if (winclient->initial_state == WithdrawnState) { | ||
1038 | delete winclient; | ||
1037 | #ifdef SLIT | 1039 | #ifdef SLIT |
1038 | if (winclient->initial_state == WithdrawnState) | ||
1039 | slit()->addClient(client); | 1040 | slit()->addClient(client); |
1040 | |||
1041 | #endif // SLIT | 1041 | #endif // SLIT |
1042 | if (winclient->initial_state == WithdrawnState) { | ||
1043 | delete winclient; | ||
1044 | return 0; | 1042 | return 0; |
1045 | } | 1043 | } |
1046 | 1044 | ||