diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2022-12-14 20:02:16 +1300 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2022-12-14 20:02:16 +1300 |
| commit | 7ec43dd82b8507e1cc4d1b8b1ab1af2298c77c84 (patch) | |
| tree | a1fa3dcb88e0134d7475f44908a77802d875563b | |
| parent | 6ea2604001ccfa597ae729681f37b3d7bbef3a1a (diff) | |
| download | YATwm-7ec43dd82b8507e1cc4d1b8b1ab1af2298c77c84.tar.gz YATwm-7ec43dd82b8507e1cc4d1b8b1ab1af2298c77c84.zip | |
Final commit before merge
| -rw-r--r-- | notes.org | 31 | ||||
| -rw-r--r-- | structs.h | 1 |
2 files changed, 17 insertions, 15 deletions
@@ -1,18 +1,19 @@ -#+TITLE: Notes for myself to read +#+TITLE: Features to add -* Multiple monitors -** How I tell which monitor -- First I should check the currently focsued window -- Seccondly I should get the current mouseX and mouseY - - If the mouseX and mouseY match the old ones then use the focusedScreen - - If not then use mouseX and mouseY -** When to update mouseX and mouseY -Whenever I change focus or focused screen or map a new window -Or just updating every key press should work -** When to change focusedScreen -It should get changed when I change workspace to one that should go on a different screen -** How to tell which monitor to focus when changing workspace -There should be an array with the priorities. +* Remembering focus +Use the variable ~whichChildFocused~ for each non client frame, this is the index of the child that is focused. To then find focused child for a root recurse through all the frames going through the focused child. +** Where it should be updated ++ When focus is moved ++ When a client is moved (because it should retain focus) ++ When a client is deleted (if it had focus before) +** Where it should be used +Whenever I set focus I should use the focused client of whichever workspace is focused + +* Change focus and move between monitors +Perhaps I can just add something to the ~dirFind~ function + +* TOML config +put in ~/.config/YATwm/config.toml * Fullscreen windows This should be another thing like floating windows except each workspace only gets one @@ -21,5 +22,5 @@ I should check it first when tiling and if it exists then draw it to the size of * General EWMH things I should really figure out what all the client messages mean -* The eventual program to communicate with YAT +* The eventual program to communicate with YATwm Use a unix socket @@ -37,6 +37,7 @@ struct Frame std::vector<int> subFrameIDs; bool isRoot; std::vector<int> floatingFrameIDs; + //int whichChildFocused = 0; }; struct ScreenInfo |
