[xmonad] ManageHook and child windows

Raghavendra D Prabhu raghu.prabhu13 at gmail.com
Mon Jun 25 13:13:23 CEST 2012


Hi,


* On Sun, Jun 24, 2012 at 12:56:10PM -0400, adam vogt <vogt.adam at gmail.com> wrote:
>On Sat, Jun 23, 2012 at 2:30 PM, Raghavendra D Prabhu
><raghu.prabhu13 at gmail.com> wrote:
>> Hi,
>>
>> I am using ManageHook to assign windows to workspaces; however, sometimes I
>> tend to move the window to other workspace and after that happens, any
>> dialog/child window  of this window appears in the original assigned
>> workspace and not in the new workspace.
>>
>> Is there a way to fix / workaround this?
>
>Hi Raghavendra,
>
>If you run xprop on the dialog windows you find a property like:
>WM_TRANSIENT_FOR(WINDOW): window id # 0x7c00006
>
>If that's the case, you can use the transience' defined in
>XMonad.Hooks.ManageHelpers, putting it as the left-most managehook
>(that is,         manageHook = composeAll [ transience' , className =?
>"a" --> doShift "b", ... ] )
>
>http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-ManageHelpers.html
>
>Adam
>
>_______________________________________________

Thanks, I had tried transience before, albeit for a different 
purpose I think, let me give it a shot again.

Thanks.

>xmonad mailing list
>xmonad at haskell.org
>http://www.haskell.org/mailman/listinfo/xmonad




Regards,
-- 
Raghavendra Prabhu
GPG Id : 0xD72BE977
Fingerprint: B93F EBCB 8E05 7039 CD3C A4B8 A616 DCA1 D72B E977
www: wnohang.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120625/e256e50a/attachment.pgp>


More information about the xmonad mailing list