wxUniversal on X11 question

6 views
Skip to first unread message

BigPilot

unread,
Nov 5, 2009, 1:14:24 PM11/5/09
to wx-users
If I run a wxUniversal build on pure X11, what is managing the
windows? I mean, do I need to write my own window manager?

Vadim Zeitlin

unread,
Nov 5, 2009, 6:03:45 PM11/5/09
to wx-u...@googlegroups.com
On Thu, 5 Nov 2009 10:14:24 -0800 (PST) BigPilot <bigp...@linuxmail.org> wrote:

B> If I run a wxUniversal build on pure X11, what is managing the
B> windows? I mean, do I need to write my own window manager?

wxUniversal allows you to create normal X11 programs. You can run them
under any WM of your choice or without one. I don't see would you want to
write your own WM.

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

BigPilot

unread,
Nov 6, 2009, 5:34:37 AM11/6/09
to wx-users

On Nov 6, 12:03 am, Vadim Zeitlin <va...@wxwidgets.org> wrote:
> On Thu, 5 Nov 2009 10:14:24 -0800 (PST) BigPilot <bigpi...@linuxmail.org> wrote:
>
> B> If I run a wxUniversal build on pure X11, what is managing the
> B> windows? I mean, do I need to write my own window manager?
>
>  wxUniversal allows you to create normal X11 programs. You can run them
> under any WM of your choice or without one. I don't see would you want to
> write your own WM.
>

http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming-2.html#wm

"The window manager is responsible to decorating drawn windows (i.e.
adding a frame, an iconify button, a system menu, a title bar), as
well as to handling icons shown when windows are being iconified. It
also handles ordering of windows on the screen, and other
administrative tasks."

Doesn't wxUniversal do all this already?

Vadim Zeitlin

unread,
Nov 6, 2009, 7:56:19 AM11/6/09
to wx-u...@googlegroups.com
On Fri, 6 Nov 2009 02:34:37 -0800 (PST) BigPilot <bigp...@linuxmail.org> wrote:

B> On Nov 6, 12:03 am, Vadim Zeitlin <va...@wxwidgets.org> wrote:


B> > On Thu, 5 Nov 2009 10:14:24 -0800 (PST) BigPilot <bigpi...@linuxmail.org> wrote:
B> >

B> > B> If I run a wxUniversal build on pure X11, what is managing the
B> > B> windows? I mean, do I need to write my own window manager?
B> >
B> >  wxUniversal allows you to create normal X11 programs. You can run them
B> > under any WM of your choice or without one. I don't see would you want to
B> > write your own WM.
B> >
B>
B> http://users.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming-2.html#wm
B>
B> "The window manager is responsible to decorating drawn windows (i.e.
B> adding a frame, an iconify button, a system menu, a title bar), as
B> well as to handling icons shown when windows are being iconified. It
B> also handles ordering of windows on the screen, and other
B> administrative tasks."
B>
B> Doesn't wxUniversal do all this already?

wxUniversal has rudimentary support for drawing the decorations on its own
which can be useful when you run it on embedded systems without WM (e.g. a
typical situation is an embedded system on which only one application is
running) but it doesn't really replace WM. On a typical desktop wxUniv/X11
apps are just normal X11 apps and let the WM do all this.

Reply all
Reply to author
Forward
0 new messages