aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Slit.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index 79e3d31..f6cc80c 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: Slit.cc,v 1.14 2002/05/29 06:21:59 fluxgen Exp $ 22// $Id: Slit.cc,v 1.15 2002/05/29 19:10:04 fluxgen Exp $
23 23
24//use GNU extensions 24//use GNU extensions
25#ifndef _GNU_SOURCE 25#ifndef _GNU_SOURCE
@@ -54,7 +54,6 @@
54// Utility method for extracting name from window 54// Utility method for extracting name from window
55namespace { 55namespace {
56 void getWMName(BScreen *screen, Window window, std::string& name) { 56 void getWMName(BScreen *screen, Window window, std::string& name) {
57 assert(screen);
58 name = ""; 57 name = "";
59 58
60 if (screen != 0 && window != None) { 59 if (screen != 0 && window != None) {
@@ -1088,7 +1087,6 @@ Slit::SlitClient::SlitClient(BScreen *screen, Window w)
1088} 1087}
1089 1088
1090void Slit::SlitClient::initialize(BScreen *screen, Window w) { 1089void Slit::SlitClient::initialize(BScreen *screen, Window w) {
1091 assert(screen);
1092 client_window = w; 1090 client_window = w;
1093 window = icon_window = None; 1091 window = icon_window = None;
1094 x = y = 0; 1092 x = y = 0;