]> git.corax.cc Git - mwm/log
mwm
4 years agomain: Instantiate and run mwm
Matthias Kruk [Sun, 2 May 2021 00:56:27 +0000 (09:56 +0900)]
main: Instantiate and run mwm

The main() function currently does nothing but parse teh commandline.
This commit changes the main() function so that it creates an mwm
instance and subsequently initializes and executes it.

4 years agomwm: Add datatype to manage global context
Matthias Kruk [Sun, 2 May 2021 00:53:37 +0000 (09:53 +0900)]
mwm: Add datatype to manage global context

This commit adds the mwm data type, which stores the global state of
the window manager, and will be used to handle events.

4 years agomonitor: Add data type for monitor management
Matthias Kruk [Sun, 2 May 2021 00:51:26 +0000 (09:51 +0900)]
monitor: Add data type for monitor management

To keep track of connected monitors, a data type is necessary.
This commit adds the monitor datatype that is used to keep track
of the size and position of a monitor.

4 years agoarray: Add dynamic array type
Matthias Kruk [Sun, 2 May 2021 00:48:18 +0000 (09:48 +0900)]
array: Add dynamic array type

For storage of monitors, a data type is needed that automatically
grows and shrinks as needed.
This commit adds a dynamic array implementation.

4 years agoInitial commit: Start with a minimal Makefile, manpage, and main.c master stable testing
Matthias Kruk [Sat, 1 May 2021 21:48:49 +0000 (06:48 +0900)]
Initial commit: Start with a minimal Makefile, manpage, and main.c

This commit adds a minimal Makefile, a short manpage, and a mwm
implementation that does nothing but print a help text.