diff options
| author | BossCode45 <human.cyborg42@gmail.com> | 2023-06-21 20:26:52 +1200 |
|---|---|---|
| committer | BossCode45 <human.cyborg42@gmail.com> | 2023-06-21 20:35:10 +1200 |
| commit | c4813b0ad3f8e0cc4f55b0f0fda8359eb9729417 (patch) | |
| tree | cdeb26bb70aaa0b5782680908df176cff1ec9cfe /main.cpp | |
| parent | 21b1840e0982929c1fa8acc5fadd203dccc94585 (diff) | |
| download | YATwm-c4813b0ad3f8e0cc4f55b0f0fda8359eb9729417.tar.gz YATwm-c4813b0ad3f8e0cc4f55b0f0fda8359eb9729417.zip | |
feat: Fixed fullscreen stuff after rebasing in the config refactor
Also added stuff to the readme for it
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -579,7 +579,7 @@ const void nextMonitor(const CommandArg* argv) XWarpPointer(dpy, root, root, 0, 0, 0, 0, screens[focusedScreen].x + screens[focusedScreen].w/2, screens[focusedScreen].y + screens[focusedScreen].h/2); focusRoot(focusedWorkspaces[focusedScreen]); } -void fullscreen(const KeyArg arg) +const void fullscreen(const CommandArg* arg) { Window focusedWindow; int focusedRevert; @@ -1018,6 +1018,7 @@ int main(int argc, char** argv) commandsModule.addCommand("reload", reload, 0, {}); commandsModule.addCommand("wsDump", wsDump, 0, {}); commandsModule.addCommand("nextMonitor", nextMonitor, 0, {}); + commandsModule.addCommand("fullscreen", fullscreen, 0, {}); //Config std::vector<Err> cfgErr; |
