aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
AgeCommit message (Collapse)Author
2012-07-20rework main function - version formattingIvan Kanakarakis
2012-07-20remove xerrorlib function pointerIvan Kanakarakis
2012-07-20rework xerror xerrorstart and sigchld functionsIvan Kanakarakis
correct definitions update comments use the 'unused' attribute to mark arguments and supress warnings about unused variables.
2012-07-20rework deletewindow function - init of XEvent varIvan Kanakarakis
2012-07-20rework killclient function - do not remove the client when deleting a windowIvan Kanakarakis
2012-07-20rework client_to_desktop function - check boundsIvan Kanakarakis
2012-07-20rework change_desktop function - check boundsIvan Kanakarakis
2012-07-20rework setfullscreen function - accept desktop argIvan Kanakarakis
no need to use XWindowChanges and XConfigureWindow all we want is to change the border width, which can be achieved with XSetWindowBorderWidth. we need to know how many clients are on the given desktop, because if there's only one, then there shouldn't be a BORDER_WIDTH border.
2012-07-20rework stack function - reorder if/else/return statementsIvan Kanakarakis
2012-07-20rework mousemotion function - do not unset fullscreen stateIvan Kanakarakis
either way, this can only be done by the client. if the wm wishes the client to toggle fullscreen state the wm should send an appropriate XEvent, and not just change the property for the client.
2012-07-20rework configurerequest function - no need to know the client of the windowIvan Kanakarakis
2012-07-20remove global var screenIvan Kanakarakis
2012-07-20rework mousemotion function - use of if/else instead of switch/caseIvan Kanakarakis
2012-07-20rework grabbuttons and grabkeys function - minimize loopsIvan Kanakarakis
2012-07-20fix clients not getting tiled correctlyIvan Kanakarakis
if there was a fullscreen window, and a second client was spawned, it would not tile. this fixes that issue.
2012-07-20call tile only when there are clients to tileIvan Kanakarakis
this is actually also checked in tile function
2012-07-20remove global stateIvan Kanakarakis
2012-07-20rename isurgent, isfullscrn, isfloating, istransient to isurgn, isfull, ↵Ivan Kanakarakis
isfloat, istrans respectively
2012-07-20rework move_up and move_down functions - should check for existance of at ↵Ivan Kanakarakis
least two clients bugfix: this is a null dereference bug that would segfault monsterwm if one tried to move a client up or down while there were no clients this was introduced by mistake when the prev_client function was introduced; now prevclient see commit: 0a900d49
2012-07-20rework prevclient function - negate return conditionalIvan Kanakarakis
2012-07-20rework unmapnotify function - negate return conditionalIvan Kanakarakis
2012-07-20rework next_win and prev_win functions - negate return conditionalIvan Kanakarakis
2012-07-20rework sigchld function - negate err conditionalIvan Kanakarakis
2012-07-20rework move_down move_up functions - initializationIvan Kanakarakis
2012-07-20rework buttonpress function - get rid of return stamentIvan Kanakarakis
2012-07-10rework buttonpress and keypress functions - separate if statement for functionIvan Kanakarakis
2012-07-10rework propertynotify function - add parenthesis and check XWMHints pointer ↵Ivan Kanakarakis
before free
2012-07-10formatting changes - whitespace, alignments, parenthesisIvan Kanakarakis
2012-07-01document v member of Arg type unionIvan Kanakarakis
2012-06-29fix for tiled to floating clients not getting on top of other floating clientsIvan Kanakarakis
2012-06-29floating clients get centered by defaultIvan Kanakarakis
2012-06-28rework wintoclient function main loopIvan Kanakarakis
2012-06-28no need to re-assign values on selectdesktop if the new index is the currentIvan Kanakarakis
2012-06-28no need to tile if the moved client is floating and there are more than one ↵Ivan Kanakarakis
clients on the desktop
2012-06-28rework unmapnotify function return conditionIvan Kanakarakis
2012-06-28rework change_desktop function - no need for prevdeskidxIvan Kanakarakis
prevdeskidx is only needed when last_desktop function is introduced. no need to keep yet another global variable that remains unused.
2012-06-28update comment on cliet_to_desktopIvan Kanakarakis
2012-06-28rework mousemotion function return conditionalIvan Kanakarakis
2012-06-28no need for separate savedesktop functionIvan Kanakarakis
2012-06-28rename prevfocus and current to prev and curr respectivelyIvan Kanakarakis
2012-06-28rename current_desktop to currdeskidxIvan Kanakarakis
2012-06-28rename previous_desktop to prevdeskidxIvan Kanakarakis
2012-06-28rename key type to KeyIvan Kanakarakis
2012-06-28rename desktop type to DesktopIvan Kanakarakis
2012-06-28rename update_current function to focusIvan Kanakarakis
2012-06-25rename select_desktop function to selectdesktopIvan Kanakarakis
2012-06-25rename save_desktop function to savedesktopIvan Kanakarakis
2012-06-25rename prev_client function to prevclientIvan Kanakarakis
2012-06-25fix comment on removeclient() fuctionIvan Kanakarakis
2012-06-23fix CLICK_TO_FOCUS behaviorIvan Kanakarakis
when CLICK_TO_FOCUS was set, a Button1 click on a client should make that client the current one (highlight and input focus). however this was inconsistent, as if a modifier key was pressed at that time, like CapsLock or NumLock, the click would not be grabbed. this commit fixes this behavior and CLICK_TO_FOCUS should work regardless of NumLock or CapsLock or both modifiers beeing pressed at the time of the click event.