summaryrefslogtreecommitdiff
path: root/src/manage.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-04-11 22:25:19 +0000
committersabetts <sabetts>2003-04-11 22:25:19 +0000
commit82326f9f3e2bcbf7eca407944a7a77387d79f0b8 (patch)
treeafc5b3f6d8a08a74b69bdfad2908b4319b5dea9d /src/manage.c
parent8313f4587c369d9862e9eb1a31a671181c402029 (diff)
downloadratpoison-82326f9f3e2bcbf7eca407944a7a77387d79f0b8.zip
* src/window.c (window_name): use WIN_NAME_* defines for possible
defaults.win_name values. (window_name): remove case WIN_NAME_TITLE and glob it with the default switch. * src/main.c (init_defaults): use WIN_NAME_* defines for possible defaults.win_name values. * src/actions.c (cmd_defwinname): use WIN_NAME_* defines for possible defaults.win_name values. (cmd_defwinname): likewise * src/data.h (WIN_NAME_TITLE): new define (WIN_NAME_RES_CLASS): new define (WIN_NAME_RES_NAME): new define * src/window.c (add_to_window_list): use xstrdup to create the default value for user_name.
Diffstat (limited to 'src/manage.c')
-rw-r--r--src/manage.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/manage.c b/src/manage.c
index 28e6ab3..1be4e7a 100644
--- a/src/manage.c
+++ b/src/manage.c
@@ -192,9 +192,6 @@ update_window_name (rp_window *win)
{
char *newstr;
- /* Don't overwrite the window name if the user specified one. */
-/* if (win->named) return 0; */
-
newstr = get_wmname (win->w);
if (newstr != NULL)
{