aboutsummaryrefslogtreecommitdiff
path: root/monsterwm.c
AgeCommit message (Collapse)Author
2012-09-20Revert "add support for WM_STATE atom and WithdrawnState for windows"Ivan Kanakarakis
This reverts commit 5b32f2d7ff63b26287c29a80c1d7cf9a3bcd1ab5. This patch was a total failure. WM_STATE and WithdrawnState were introduced to handle withdrawn windows. After some thought, it seems this is not really needed.
2012-09-20add support for WM_STATE atom and WithdrawnState for windowsIvan Kanakarakis
2012-09-20fix typoIvan Kanakarakis
2012-09-20add vim modelineIvan Kanakarakis
2012-09-20fix for misbehaving apps - tile on configure requestIvan Kanakarakis
2012-08-23do not fail on BadAccess because of an already grabbed buttonIvan Kanakarakis
2012-08-10be able to resize floating windows when they have no border - fixes #13Ivan Kanakarakis
2012-08-07remove extra empty line - ignoreIvan Kanakarakis
2012-08-06do not tile on configure requestIvan Kanakarakis
2012-08-06on FLOAT mode do not mark tiled clients as floatingIvan Kanakarakis
this results in instant tiling of non-floating clients when switching mode away from FLOAT. this seems to be more expected. reference: https://bbs.archlinux.org/viewtopic.php?pid=1142030#p1142030
2012-07-23fix clang warningsIvan Kanakarakis
2012-07-23rework client_to_desktop function - use a temp client, first unlink, then linkIvan Kanakarakis
2012-07-23fix memory leak on killclient functionIvan Kanakarakis
2012-07-22rework mousemotion function - return if pointer is not above the current windowIvan Kanakarakis
2012-07-22rework maprequest function - check for rule desktop boundsIvan Kanakarakis
2012-07-22update comments for focus functionIvan Kanakarakis
2012-07-20rework maprequest function - group var init - minor changesIvan Kanakarakis
2012-07-20rework focusin function - use one if statement - minor changeIvan Kanakarakis
2012-07-20rework buttonpress fuction - allow commands even if no window is thereIvan Kanakarakis
2012-07-20tile functions know all about the rectangle in which they tile the clientsIvan Kanakarakis
2012-07-20split structs and function prototypes to those used by config and those used ↵Ivan Kanakarakis
internally
2012-07-20rework focus function and overall focus behaviorIvan Kanakarakis
all prev and curr references are handled by focus() function except when removeclient() function removes the prev client.
2012-07-20lone floating clients should get bordersIvan Kanakarakis
2012-07-20update commentsIvan Kanakarakis
2012-07-20fix for desktops not marked as having an urgent hintIvan Kanakarakis
the client needs to be compared to the current client of the current desktop, otherwise if the client was the current client on another desktop, it would not be marked with an urgent hint.
2012-07-20fix calls to desktopinfoIvan Kanakarakis
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