diff options
author | sabetts <sabetts> | 2000-08-27 21:34:27 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2000-08-27 21:34:27 +0000 |
commit | e1306eafc699df1358faa9860ebf2fc6440274dd (patch) | |
tree | 4bf24dca4072105c00c22d6d110f0e845fcddf31 /events.c | |
parent | e324b974b06b54e9e568caa0b61535ad46baceba (diff) | |
download | ratpoison-e1306eafc699df1358faa9860ebf2fc6440274dd.zip |
Fixed the ClassHints crashes by using the GetWMName function instead
(The way we're supposed to do it).
Diffstat (limited to 'events.c')
-rw-r--r-- | events.c | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -285,6 +285,22 @@ key_press (XEvent *ev) } } +/* Not complete. I just update the name everytime, but I should really + check what kind of property update it is. */ +void +property_notify (XEvent *ev) +{ + rp_window *win; + + win = find_window (ev->xproperty.window); + + if (win) + { + printf ("updating window name\n"); + update_window_name (win); + } +} + /* Given an event, call the correct function to handle it. */ void delegate_event (XEvent *ev) @@ -314,6 +330,7 @@ delegate_event (XEvent *ev) printf ("ColormapNotify\n"); break; case PropertyNotify: + property_notify (ev); printf ("PropertyNotify\n"); break; case SelectionClear: |