summary refs log tree commit diff
path: root/xevents.c
diff options
context:
space:
mode:
authorokan <okan>2011-09-13 08:41:57 +0000
committerokan <okan>2011-09-13 08:41:57 +0000
commit796b32123d88fd5946c97fb79ad551600c772f62 (patch)
tree87deac6c6d1d3bfdb5ce66a880776ce63b37dd5b /xevents.c
parentb96caa16e6a6406a0f837637cd5529f0d778b927 (diff)
downloadcwm-796b32123d88fd5946c97fb79ad551600c772f62.tar.gz
cwm-796b32123d88fd5946c97fb79ad551600c772f62.tar.xz
cwm-796b32123d88fd5946c97fb79ad551600c772f62.zip
add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such to
the group of the main application window; based on a diff from Alexander
Polakov with CLIENT_IGNORE flag suggestion from oga@.

ok oga@
Diffstat (limited to 'xevents.c')
-rw-r--r--xevents.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xevents.c b/xevents.c
index 34dd051..6c4ba71 100644
--- a/xevents.c
+++ b/xevents.c
@@ -191,6 +191,9 @@ xev_handle_propertynotify(XEvent *ee)
 		case XA_WM_NAME:
 			client_setname(cc);
 			break;
+		case XA_WM_TRANSIENT_FOR:
+			client_transient(cc);
+			break;
 		default:
 			/* do nothing */
 			break;