From a34c161a6643f184348f42235bcda46352b68da0 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Sun, 18 Sep 2022 14:38:41 +1200 Subject: Starting work on multiple monitors --- notes.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 notes.org (limited to 'notes.org') diff --git a/notes.org b/notes.org new file mode 100644 index 0000000..e67a9a0 --- /dev/null +++ b/notes.org @@ -0,0 +1,24 @@ +#+TITLE: Notes for myself to read + +* 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 +** 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. + +* Fullscreen windows +This should be another thing like floating windows except each workspace only gets one +I should check it first when tiling and if it exists then draw it to the size of the screeen then return + +* General EWMH things +I should really figure out what all the client messages mean + +* The eventual program to communicate with YAT +Use a unix socket -- cgit v1.2.3 From bcf9e480629d3bca64fc356e82560848aacfdd13 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Mon, 17 Oct 2022 14:51:58 +1300 Subject: Ready to test multi monitor workspace switch --- notes.org | 1 + 1 file changed, 1 insertion(+) (limited to 'notes.org') diff --git a/notes.org b/notes.org index e67a9a0..4489102 100644 --- a/notes.org +++ b/notes.org @@ -8,6 +8,7 @@ - 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 -- cgit v1.2.3 From 7ec43dd82b8507e1cc4d1b8b1ab1af2298c77c84 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Wed, 14 Dec 2022 20:02:16 +1300 Subject: Final commit before merge --- notes.org | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) (limited to 'notes.org') diff --git a/notes.org b/notes.org index 4489102..a3b6bf1 100644 --- a/notes.org +++ b/notes.org @@ -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 -- cgit v1.2.3