aboutsummaryrefslogtreecommitdiff
path: root/swt.c
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-06-23 09:41:46 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-06-23 09:41:46 +0200
commit559e55d5918c5dcbd7b717e73828ce8f269b3854 (patch)
treea01ad9b51e971aaaffe3246c6296cb423142b19c /swt.c
parentfc72ea11b7c3703fab19ba6ae6fd358851a8f467 (diff)
remove debugging fprintfsHEADmaster
Diffstat (limited to 'swt.c')
-rw-r--r--swt.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/swt.c b/swt.c
index 6174275..f4f70fe 100644
--- a/swt.c
+++ b/swt.c
@@ -423,15 +423,12 @@ is_valid_title(const char *title)
if (!title)
return 0;
- fprintf(stderr, "HERE\n");
for (; i < STR_BUF_SIZ; ++i) {
if (title[i] == 0) {
return 1;
}
}
- fprintf(stderr, "FALSE\n");
-
return 0;
}
@@ -439,9 +436,7 @@ is_valid_title(const char *title)
void
wsettitle(char *title) {
if (is_valid_title(title)) {
- fprintf(stderr, "TRUE\n");
xdg_toplevel_set_title(win.surface.toplevel, title);
- fprintf(stderr, "SET TITLE\n");
} else {
xdg_toplevel_set_title(win.surface.toplevel, "swt");
}