_mask,
v.blue_mask)
}
}
Which Depth and Visual Id should I select for getting correct masks ?
On Wed, Aug 23, 2017 at 6:47 PM, Ilya Anfimov wrote:
> On Tue, Aug 22, 2017 at 11:39:26AM +0530, Sai Prasanna wrote:
> >I thought Zpixmap mapped directly to BGRA. But my assumption didn't
&g
I thought Zpixmap mapped directly to BGRA. But my assumption didn't turn
out to be correct in some older X versions.
I am using xcb_get_image and xcb_shm_get_image to grab screen pixels. I
used Zpixmap option for image format. In new-ish Xorg versions it works
perfectly.
But in some machines with
trospect.Call(conn.Object("org.freedesktop.login1",
"/org/freedesktop/login1/session/c2"))
// if err != nil {
// panic(err)
// }
// data, _ := json.MarshalIndent(node, "", " ")
// os.Stdout.Write(data)
}
On Fri, Aug 11, 2017 at 1:
Hi,
Thanks Michal. How to use Dbus API directly to get the same results?.
I think loginctl is missing in some old distros.
Thank you,
Sai Prasanna
On Wed, Aug 2, 2017 at 9:24 PM, Michal Srb wrote:
> Hi,
>
> I would say a systematic way to do it is using the systemd/logind dbus api
directly releavant to x11 alone and
may involve display manager specific stuff, but my knowledge of X, display
managers etc is quite currently limited.
Thank you,
R. Sai Prasanna
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesk