summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 00:35:11 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 00:35:11 +0000
commite48dce6707b9273eaa46957624932288317a30da (patch)
tree439715ba40dd7037ec441ec6df2c351671ac8c4e /openbox
parent16fcb1213d4ccfccd4e4a8ad5e8b0c826dc5c16e (diff)
add a comment
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 477575a8..5c025229 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3463,6 +3463,8 @@ gboolean client_can_focus(ObClient *self)
gboolean client_focus(ObClient *self)
{
+ /* we might not focus this window, so if we have modal children which would
+ be focused instead, bring them to this desktop */
client_bring_modal_windows(self);
/* choose the correct target */