Commit Graph
162 Commits
Author SHA1 Message Date
Dylan Araps b5eca40b64 rewrite 2020-07-21 09:18:05 +03:00
Dylan Araps 3e711082e7 sowm2: Resizing and moving 2020-07-11 14:47:07 +03:00
Dylan Araps a743d166fe sowm: Shuffle declarations around 2020-07-11 11:50:54 +03:00
Dylan Araps 1a4c655b9d meta: Rewrite sowm and swap to XCB.
This was my first real C project and it shows. Learning C is quite
fun and I still have a long way to go. This next rewrite should be
less of a hot-mess than the original Xlib version.

Notable mistakes:

- while (1 && ...)
- for win (spastic pre-processor stuff)
- no proper tracking of client sizes/positions.
- lazy window focus model.
- almost code-golfed code-base.
- circular-doubly-linked-list for clients.

The following changes mark the initial commit for the rewrite.
The window manager works but does not yet do enough for it to be
usable. Clients, keybindings, a configuration file, etc, etc do
not yet exist. Baby steps.
2020-07-11 11:31:30 +03:00
Dylan Araps dabe77272b sowm: revert normal kill 2020-04-25 10:47:50 +03:00
Dylan Araps ea47780ab0 sowm: Fix normal kill 2020-04-23 08:40:08 +03:00
Dylan Araps 0ed080b99c sowm: small fixes 2020-04-23 08:27:13 +03:00
dylan 7e4466e38e Merge pull request #60 from dylanaraps/kill
sowm: normal window close
2020-04-23 08:21:27 +03:00
Dylan Araps e22087856b sowm: Compress window events after compressing all events. 2020-03-11 22:21:41 +02:00
Dylan Araps 3ed647f467 sowm: simpler kill 2020-02-20 18:02:11 +02:00
Dylan Araps e491a637fe sowm: Changes for easier patching 2020-02-20 16:08:47 +02:00
Dylan Araps 5547cc3a51 sowm: Set minimum resize amount. 2020-02-20 15:59:48 +02:00
Dylan Araps 0e8cc9fe86 sowm: Fix errors. Closes #51 2020-01-24 06:40:37 +02:00
Dylan Araps 69f2c71fb7 sowm: proper prototypes 2020-01-23 17:00:26 +02:00
Dylan Araps a31091472a docs: update 2020-01-23 16:14:22 +02:00
Dylan Araps 1d249a96ef sowm: Add header file 2020-01-23 02:54:13 +02:00
Dylan Araps e0d0415d06 Fix keybinds issue. Closes #15.
This is rather verbose and I personally find it disgusting but
it's required to make key bindings behave.

A big thank you to DWM and other window managers for saving me
a crippling headache.

This increases the code an amount doesn't it?
2020-01-20 01:45:57 +02:00
Seungheon Oh 66336521ed Fix: Shift mask now being recognized 2020-01-14 15:16:06 -06:00
Dylan Araps 09a514cd5e sowm: Enable missing prototypes warning and define win_prev. 2019-12-18 11:41:21 +00:00
Dylan Araps 8ee3294adf Merge branch 'master' of github.com:dylanaraps/sowm 2019-12-18 11:30:21 +00:00
Kiëd Llaentenn dcaf873fec add win_prev() 2019-12-15 18:53:52 -05:00
Dylan Araps 93135664c2 sowm: Another possible fix for key bug 2019-11-25 23:12:05 +00:00
Dylan Araps 1fb75817aa sowm: prevent fullscreen windows from being moved or resized. 2019-11-25 14:30:34 +00:00
Dylan Araps df34385548 sowm: revert key change 2019-11-25 14:30:00 +00:00
Dylan Araps 2292f86d7f sowm: potential fix for key bug 2019-11-24 14:24:13 +00:00
Dylan Araps cb03ac9664 sowm: revert ungrab key change 2019-10-25 22:37:47 +03:00
Dylan Araps 5b012c10be sowm: attempt to fix key issue 2019-10-25 02:23:19 +03:00
Dylan Araps 35b12c7969 sowm: swap to new keycode to keysym func 2019-10-24 23:33:41 +03:00
Dylan Araps 117b04d4a6 sowm: fix workspace issue 2019-10-20 23:34:29 +03:00
Dylan Araps 144c153844 sowm: check mod first. 2019-10-19 23:29:21 +03:00
Dylan Araps 2d1e5c2654 sowm: clean up 2019-10-19 17:23:26 +03:00
Dylan Araps d70ecee07d sowm: clean up 2019-10-19 13:40:28 +03:00
Dylan Araps fa3c276ce6 sowm: remove now pointless checks 2019-10-19 13:24:17 +03:00
Dylan Araps 7316c149b8 sowm: use Window for window and not int 2019-10-19 10:55:21 +03:00
Dylan Araps 589bb768d9 sowm: fix current 2019-10-19 10:27:18 +03:00
Dylan Araps 84119dd331 sowm: simpler button release 2019-10-19 08:17:17 +03:00
Dylan Araps 5c075a359a sowm: simpler center 2019-10-19 08:14:03 +03:00
Dylan Araps b48c9b6add sowm: remove root global 2019-10-19 07:49:26 +03:00
Dylan Araps a4293a63a7 sowm: send client to focus func directly 2019-10-19 00:54:06 +03:00
Dylan Araps 4ed0c0919f sowm: track current window 2019-10-19 00:30:59 +03:00
Dylan Araps 3f66256197 sowm: simpler alt tab 2019-10-19 00:18:03 +03:00
Dylan Araps 7fe47aefc1 sowm: swap to circular doubly linked list 2019-10-19 00:16:19 +03:00
Dylan Araps 0fa485eb7b docs: update 2019-10-18 20:12:59 +03:00
Dylan Araps d1e8ee5e67 sowm: more broken (for now) 2019-10-18 19:55:26 +03:00
Dylan Araps ef61316b5f sowm: we circular now (we also a little broken too) 2019-10-18 17:40:04 +03:00
Dylan Araps 493302d38b sowm: simpler window add 2019-10-18 13:45:02 +03:00
Dylan Araps f10cec8509 sowm: formatting 2019-10-18 13:05:25 +03:00
Dylan Araps 02b10e8585 sowm: track current client to simplify linked list implementation. 2019-10-18 12:43:09 +03:00
Dylan Araps 8917b6ddb2 sowm: revert oops 2019-10-18 12:32:36 +03:00
Dylan Araps 522defba1e sowm: simpler del 2019-10-18 12:05:13 +03:00