aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xevents.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xevents.c b/xevents.c
index 80590be..9b504bc 100644
--- a/xevents.c
+++ b/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xevents.c,v 1.146 2019/03/11 15:25:46 okan Exp $
+ * $OpenBSD: xevents.c,v 1.147 2019/04/29 19:02:21 tim Exp $
*/
/*
@@ -207,7 +207,8 @@ xev_handle_propertynotify(XEvent *ee)
group_movetogroup(cc, cc->gc->num);
break;
default:
- /* do nothing */
+ if (e->atom == ewmh[_NET_WM_NAME])
+ client_setname(cc);
break;
}
} else {