Wm, what way?

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
roelforg
Posts: 22
Joined: Mon Aug 08, 2011 6:27 am

Re: Wm, what way?

Post by roelforg »

Thx everyone,
it works!!!

i've attached a screenshot of it running in bochs.

The little coloured square in the lower right corner is the mouse.

Explaination:
first the blue square is drawn (i haven't added the topbar and corners yet and the square represent windows).
then the green square is drawn and it partially overlaps the blue square.
then a bring_to_front function saves the content and data from the blue square and removes it from the stack,
then it puts it at the end of the stack and copy's the saved data back to the square.

Very thx everyone =D> =D>

@mods: you can close this topic :D
Attachments
window manager
window manager
wmshot.PNG (4.35 KiB) Viewed 728 times
Image

Jokes:
Q. Why did the scarecrow got promoted?
A. Because he was OUTSTANDING in his field!
=====================
Q. What's blue and isn't heavy?
A. Lightblue!
Post Reply