summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-09-02make printing more consistentdehroox
2025-09-01make shiftor unsigned to prevent undefined behaviorAbhinav Prasai
2025-09-01fix unconsistent castingdehroox
2025-09-01fix errx exit codesdehroox
2025-08-29make shiftor unsigned to prevent undefined behaviorAbhinav Prasai
2025-08-29allow custom layouts + other changes vvvAbhinav Prasai
* remove config.h * improve modifier mask cleaning * use keycode instead of sym when dealing with bindings * put <linux/limits.h> into ifdef __linux__
2025-08-28update Makefile + fix warningsAbhinav Prasai
2025-08-28remove duplicate _NET_WM_WINDOW_TYPE_DOCKAbhinav Prasai
2025-08-28calculate focused win current monitorAbhinav Prasai
2025-08-28fix fixed windows not being setAbhinav Prasai
problem: removed the c->fixed/floating = True; fix: added it back
2025-08-28new helper set_input_focus + better handling of eg. dialogue boxesAbhinav Prasai
2025-08-28forgot to change ver. number -- now 1.7Abhinav Prasai
2025-08-28remove this useless clauseAbhinav Prasai
2025-08-28add focused checking to prevent crash and make clangd optionAbhinav Prasai
2025-08-28tile() refactorAbhinav Prasai
2025-08-25remove cached variableAbhinav Prasai
there was no need, c (client variable) works fine
2025-08-25properly set monitor on workspace switchAbhinav Prasai
before it just used to focus on nothing if there was no window in the other workspace, even if there was one on the other monitor. now it focuses on the first window visible
2025-08-24change torun -> to_run in parser.cAbhinav Prasai
2025-08-24git rescue commitsAbhinav Prasai
previously lost code changes from lost commit
2025-08-24rename bindsn -> n_bindsAbhinav Prasai
2025-08-24[2] refactoring + replace all 256 with MAX_ITEMSAbhinav Prasai
2025-08-08change usege -> usage - thanks g0ncaloc7Abhinav Prasai
2025-08-08rename current_monitor -> current_mon && fix focus_next_monAbhinav Prasai
focus_next_mon now focuses the next monitor regardless or if there is no window on that monitor or not.
2025-08-07[1] refactoringAbhinav
2025-08-06refactor add_clientAbhinav
2025-08-06add MAX_ITEMS, minimise XGrabButton -> grab_button functionAbhinav
2025-08-06clean up setup_atomsAbhinav
2025-08-06correct order of functionsAbhinav
2025-07-23fix closing client wont also warp cursor backAbhinav
fix closing client wont also warp cursor
2025-07-21fix scratchpad window ghost when switching worskpacesAbhinav
2025-07-21fix scratchpad windows cant tile after releasing themAbhinav
2025-07-21update atom namesAbhinav
2025-07-19update master_previous -> master_prevAbhinav
2025-07-17add start_fullscreenAbhinav
now windows specifed can by default start fullscreened.
2025-07-17fix transparent borders with picomAbhinav
2025-07-17remove auto-fullscreen capabilitiesAbhinav
this feature was improperly implemented and causing problems. removing it for now
2025-07-01fix bottom bar struts taking half screen && windows killed on exitAbhinav
2025-07-01fix space reserved on monitors without bar/panelAbhinav
made reserve_(direction) monitor specific
2025-06-29add _NET_FRAME_EXTENTS atom supportAbhinav
this hopefully should allow programs like WINE and who spawn windows by them selves function properly
2025-06-29Merge branch 'main' of https://github.com/uint23/sxwmAbhinav
2025-06-29fix moving fullscreen windows disables fullscreenAbhinav
moving fullscreen windows to new workspace disables fullscreen on them. just removed redundant, old code
2025-06-29Merge pull request #110 from elbachir-one/mainAbhinav Prasai
Refactor keybinding configuration and parsing logic
2025-06-29fix resizing bug on second monitorAbhinav
2025-06-26Refactor keybinding configuration and parsing logicelbachir-one
- Added MAX_BINDS macro to replace magic number (256) in alloc_bind - Fixed potential null dereference in strip() on empty strings - Corrected redundant KeySym assignment in parse_combo() - Improved clarity and maintainability of call_table and helper functions - Ensured safe string handling with proper bounds and terminators - Added fallback logic for unknown key symbols using parse_keysym() - Proper bounds checks on buffers and allocations
2025-06-26Merge pull request #109 from elbachir-one/mainAbhinav Prasai
Improve safety in toggle_scratchpad() and remove_scratchpad()
2025-06-25Fix memory leaks in config parserelbachir-one
Ensure all dynamically allocated memory (e.g., should_float, can_swallow, open_in_workspace) is freed on error or cleanup
2025-06-25Improve safety in toggle_scratchpad() and remove_scratchpad()elbachir-one
- Added bounds check using MAX_SCRATCHPADS to prevent out-of-range access. - Stored scratchpad client in a local variable for clarity. - Guarded against null `focused` pointer before using it. - Enhances stability and prevents potential crashes.
2025-06-25Merge pull request #107 from elbachir-one/mainAbhinav Prasai
Add window validity checks to swallow and unswallow functions
2025-06-24fix system hanging from waitingAbhinav
stop waiting for spawned procs
2025-06-24Add window validity checks to swallow and unswallow functionselbachir-one
- Verify `swallowed->win` before resizing to avoid potential crashes with invalid windows. - Updated `unswallow_window` to verify `swallower->win` before mapping, raising, and focusing. - Prevents undefined behavior when client windows are not properly initialized.