Hi,
It's a big task to code a window manager. I played with it a bit during
the summer.
If you want to make an XWindow window manager, you need to communicate
with x windows to know when windows are created, moved, destroyed, etc.
You can do this with XCB or xlib, from what I know. But both are based
on the x11 protocol [1], so you'll need to know what X11 does when
windows appear, disappear, and such, and use one of the libraries to
handle it. I found this blog nice to have an idea to get to a minimal
window manager [2]
If you want to use wayland, that's another subject...
Hope this helps,
u
[1] https://www.x.org/releases/X11R7.7/doc/xproto/x11protocol.html
[2]
https://jichu4n.com/posts/how-x-window-managers-work-and-how-to-write-one-part-i/
On 03/11/2020 12:55, sonu ishaq wrote:
How do i go about writing my own window manager
can gtk be used for writing one ?
or am I supposed to use only python-xlib
i tried reading the docs <https://python-xlib.github.io/> for
python-xlib but i couldnt figure much out.
It would be cool if someone guided me where to start.
Im sorry if this question is very dumb, I'm kinda new to all of this
(Started programming around May)
--
You received this message because you are subscribed to the Google
Groups "qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/195605e8-d6cc-4f09-b9d3-aca7d84802e8n%40googlegroups.com
<https://groups.google.com/d/msgid/qtile-dev/195605e8-d6cc-4f09-b9d3-aca7d84802e8n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/91196e12-0a40-61d1-abde-259735618835%40lampshade.ch.