Use xprop (Pipe it into grep if you want) instead of xwininfo, it'll give
you the class name, which is what awesome uses.
You can use -class to set xterm's class.


2009/9/4 Alessandro Massignan <ff0000...@gmail.com>

> Hi folks,
>
> i've set "mocp" as true in floatapps, but when spawned running lua
> code (and from
> widget) on the fly as:
>
> awful.util.spawn("xterm -e mocp -n mocp")
>
> it comes tiled and not floated...
> xwininfo gives:
>
> xwininfo: Window id: 0x160000d "mocp"
>
>  Absolute upper-left X:  0
>  Absolute upper-left Y:  19
>  Relative upper-left X:  0
>  Relative upper-left Y:  19
>  Width: 634
>  Height: 760
>  Depth: 24
>  Visual Class: TrueColor
>  Border width: 1
>  Class: InputOutput
>  Colormap: 0x20 (installed)
>  Bit Gravity State: NorthWestGravity
>  Window Gravity State: NorthWestGravity
>  Backing Store State: NotUseful
>  Save Under State: no
>  Map State: IsViewable
>  Override Redirect State: no
>  Corners:  +0+19  -644+19  -644-19  +0-19
>  -geometry 90x54+0+19
>
> Does anyone knows how could i get out of there?
>
>
> Thanks.
> ff0000
>
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
>

Reply via email to