aboutsummaryrefslogtreecommitdiffstats
path: root/xevents.c
diff options
context:
space:
mode:
authorokan2011-09-13 08:41:57 +0000
committerokan2011-09-13 08:41:57 +0000
commit49ed7ec7f6a405208cc11e0f98a4455df6707d13 (patch)
tree0f7d22da581d049aebc24feffae8c53e739487e5 /xevents.c
parentdb10c1c1a927983fc1a37dff141f42fb0a3cbad6 (diff)
downloadcwm-49ed7ec7f6a405208cc11e0f98a4455df6707d13.tar.gz
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.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index 6b1ca9c..ce4378a 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.55 2011/08/22 16:34:34 oga Exp $
+ * $OpenBSD: xevents.c,v 1.56 2011/09/13 08:41:57 okan Exp $
*/
/*
@@ -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;