aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc8
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) {
1034FluxboxWindow *BScreen::createWindow(Window client) { 1034FluxboxWindow *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