|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
DefaultRootWindow() is a macro.
XDefaultRootWindow() is an Xlib function.
Both do the same thing (Display in, Root window ID out).
In theory, DefaultRootWindow() is less portable because
the macro accesses private data in the Display connection
that could be different between vendors. In practice
every implementation uses the same private data structures
though so I'm not aware of any portability issues with
the macros.
Mark.
On Fri, 5 May 2006, Florent Monnier wrote:
> Hi,
> (is this place ok for xlib beginner questions?)
>
> Are DefaultRootWindow() and XDefaultRootWindow() equivalent ?
>
> --
> thanks
> _______________________________________________
> XFree86 mailing list
> XFree86@xxxxxxxxxxx
> http://XFree86.Org/mailman/listinfo/xfree86
>
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86
[X Forum] [Xorg] [XFree86] [XFree86 Newbie] [IETF Announce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Kernel]