summaryrefslogtreecommitdiffstats
path: root/Operations.hs
AgeCommit message (Collapse)Author
2007-06-12make focus, up and down complete functions.David Roundy
This is a rerun of my change to make (Stack a) never be empty. Gives us more type-safety. darcs-hash:20070612150555-72aca-5f6e43aa33979c71679a73b44d93f9e2b8f9d2a8
2007-06-12fmtDon Stewart
darcs-hash:20070612134938-9c5c1-6129a754a3a5326ac8147b7d5321438fec38c7fd
2007-06-12-Wall policeStefan O'Rear
darcs-hash:20070612060546-e3110-2fd1f5c7dbcadaa4791b60158d261f2c7a10995b
2007-06-12Use a more descriptive name for the layout reversal messageStefan O'Rear
darcs-hash:20070612055859-e3110-f6bc973ba180f1ec9ded1a03cde0fc0eb16b7bd7
2007-06-12Use broadcastMessage in windows and switchLayout, should improve Xinerama ↵Stefan O'Rear
for tabbed and make xmonad robust in the presence of state-altering unlayout hooks darcs-hash:20070612055510-e3110-61286de682e2910521f534df040b1f3de9a64797
2007-06-12Add a broadcastMessage function, which sends to all visible workspaces ↵Stefan O'Rear
without refreshing. (+6 loc) darcs-hash:20070612055339-e3110-05285df631a523afce0a2c6dca993df9dfbad470
2007-06-11Set withdrawn state after calling windowsSpencer Janssen
darcs-hash:20070611213327-a5988-11712c7c29061feaa296249679a7cbe7dfe402c0
2007-06-11Remove obsolete 'layout' functionSpencer Janssen
darcs-hash:20070611203622-a5988-137014b9de3456eb1d3f7f722518fe6afcbca322
2007-06-11-Wall policeSpencer Janssen
darcs-hash:20070611202007-a5988-e7bc7a60a571e2f12e38aa548739fc8b898fdc4a
2007-06-11Comment onlySpencer Janssen
darcs-hash:20070611195827-a5988-a923fd26d5e2d440118981fe5164fee5b37234f2
2007-06-11Hide windows that are not supposed to be visibleSpencer Janssen
darcs-hash:20070611191809-a5988-f8a49e4c6c6ec628a85c2204302a43d63547b042
2007-06-11-Wall policeSpencer Janssen
darcs-hash:20070611185708-a5988-949d28a3b86ae564149777356af16fc68ed7b5f9
2007-06-11API CHANGE: Give doLayout a Stack rather than a flattened listSpencer Janssen
darcs-hash:20070611182629-a5988-384e2f82340497c833a68d909ea485017803fe9b
2007-06-11Ensure windows get at least 1 pixel for width/heightSpencer Janssen
darcs-hash:20070611061930-a5988-a427df20194b8b0aa53507676dc5d882b20de0b6
2007-06-11Restrict the master/slave ratio to [0, 1]Spencer Janssen
darcs-hash:20070611053230-a5988-67ce7423bb53d7c7ac27677e3fb86da46e7444b8
2007-06-10a few modifications to event-sending to make Tabbed layout work.David Roundy
darcs-hash:20070610153836-72aca-75025ca798e1b8c2c5d9f95257aef2bca0803749
2007-06-10send message when "windows" is called.David Roundy
darcs-hash:20070610013531-72aca-9f6807aed050b85a00bd11a69d05843c1cbedbaa
2007-06-10implement Spencer's decoration suggestion.David Roundy
darcs-hash:20070610012237-72aca-4c5873773e58103f57f7a0b232da58c269248fa7
2007-06-10haddock compatibilityAndrea Rossato
darcs-hash:20070610123746-32816-e5a1b61d81fa52f608d7936f900431bd6620c3c7
2007-06-10Move state logging into Config.hs, via logHook :: X ()Don Stewart
darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e
2007-06-09cut incorrect comment.David Roundy
darcs-hash:20070609173447-72aca-be4e1901fafb8d84f3cab02e976ccc2fa1086ca4
2007-06-09doLayout cleanup and commented exception-handling.David Roundy
darcs-hash:20070609145036-72aca-161f75345ce8925c8db5df7ac283481de952edf4
2007-06-09UNDO: Give refresh sole responsibility for establishing window properties ↵Stefan O'Rear
(-3 loc) darcs-hash:20070609185835-e3110-1eaa534465f66313044477acd9cae1bbbcf61950
2007-06-09Give refresh sole responsibility for establishing window properties (-3 loc)Stefan O'Rear
darcs-hash:20070609185835-e3110-4561eca8bf83e9d05d90cdd75bc1ddce5855087f
2007-06-09HEADS UP: (logging format change). use a custom pretty printer, for an ↵Don Stewart
easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1
2007-06-06Fix unmap handlingSpencer Janssen
According to the ICCCM, clients should send a synthetic unmap event when they initiate an unmap. The old code waited for these synthetic unmaps to unmanage windows. However, certain 'obsolete' clients do not send synthetic unmaps (notably xpdf's find dialog). These windows entered a zombified state: xmonad does not manage them, yet they are still mapped and raised on screen. The new algorithm (derived from wmii): - track windows that are mapped on screen - track the number of expected unmap events for each window, increment every time 'hide' is called on a window that is not mapped. - decrement the expected unmap counter on each unmap event - treat an unmap event as genuine (ie. unmap the window) when: - the event is synthetic (per ICCCM) - OR there are no expected unmap events for this window darcs-hash:20070606214006-a5988-7c2eced85319ff506a9b7c9dc86d5946ca0da8e5
2007-06-06dead importDon Stewart
darcs-hash:20070606025226-9c5c1-034e478b1212fcd36513beb77d2c3921761de169
2007-06-06move extraModifiers/cleanMask to Operations.hsJason Creighton
so XMonadContrib can use them darcs-hash:20070606005056-b9aa7-96a3bb09f8e6dabd707eed7b5f19d733e5e1778e
2007-06-06temporary workaround for delete/focus issue in fullscreen modeDon Stewart
darcs-hash:20070606024938-9c5c1-b89a2d864e408bfc96408d38013c14d1cde93014
2007-06-06simplify codeDon Stewart
darcs-hash:20070606004603-9c5c1-2bae3b2eb4287ea0bc349d6f590f39626adbb985
2007-06-05mention why StackSet needs -fglasgow-exts (for deriving Typeable)Don Stewart
darcs-hash:20070605092659-9c5c1-7eee6ed8801aa1c81e62d8dc62fa95035c4a5523
2007-06-05comments onlyDon Stewart
darcs-hash:20070605091803-9c5c1-4f975ef36d67e93ebdc2f0c4345898a3eccc686e
2007-06-05clean size hint codeDon Stewart
darcs-hash:20070605091354-9c5c1-25631fa2d8c438d3d21bfd5dd9aabc36e2520d53
2007-06-05Enable logging of state changes to stdoutDon Stewart
darcs-hash:20070605083735-9c5c1-1ab5acbd611914caa7b5cdf1f2df338c0ee616f8
2007-06-05Fix lost eventNotifyMask bugDon Stewart
When resuming, we were (implicitly) relying on 'scan' to find all windows, and reset their event masks and WM_STATE. When we moved to Iconfified hidden workspaces, 'scan' would only find and reset states on the current workspace. The result being that hidden workspace windows no longer received enterNotify events. Fix this by traversing the StackSet serialised during a restart, setting the intial X states for each window, whether visible or hidden. darcs-hash:20070605043040-9c5c1-642f02a61a3e1d4679fde9c38eeb10aec53ea455
2007-06-04Comment onlySpencer Janssen
darcs-hash:20070604211956-a5988-234b56ec2201d5f0e9c7fed6fd8af300cf6a6c0b
2007-06-04Wibble.Spencer Janssen
darcs-hash:20070604211816-a5988-c387bea338520504cb4c2740b41e5d4a09807d03
2007-06-04apply size hints to floating windowsPeter De Wachter
darcs-hash:20070604192943-06a25-571e4d20a5cb05c292e071295586d7e024cf89ec
2007-06-04size hints infrastructurePeter De Wachter
darcs-hash:20070604192753-06a25-20a4752a79da48c1f08b4a9556174c18928d844f
2007-06-04Delete stale commentSpencer Janssen
darcs-hash:20070604204617-a5988-888a1c992b79e45260738a16e58017dab5061d6b
2007-06-04Use 'windows' in 'focus'Spencer Janssen
darcs-hash:20070604201639-a5988-07a811aea77e4e22ae853cd09ddb3a6cd3e1cd61
2007-06-04Small clean upSpencer Janssen
darcs-hash:20070604064418-a5988-38ebeb4b8f5793db4ff1ae7dbd0d079bea552c87
2007-06-04Merge windows and refreshSpencer Janssen
darcs-hash:20070604063657-a5988-502d9499134fce6562a8327ce3257d63a16207f2
2007-06-04Use the new integrate functionSpencer Janssen
darcs-hash:20070604062653-a5988-8a6456ccc1dd03fa1c733e71dfa056dd76a91186
2007-06-04Delete stale commentsSpencer Janssen
darcs-hash:20070604061719-a5988-a1084b152584632c8f896423f8a03d8fe297b2d4
2007-06-04Remove inaccurate warnings about 'hide'Spencer Janssen
darcs-hash:20070604060611-a5988-e324f35005d3b19ffced089499d086853f07cfad
2007-06-04base >= 2.0 means we can use forM_Spencer Janssen
darcs-hash:20070604050914-a5988-600a4ba6f2f294b0ce56b16e8887d493789f29c7
2007-06-04Remove no-longer-needed 'dimensions' state (-5 loc)Stefan O'Rear
darcs-hash:20070604044715-e3110-7bd7ba2b78f80046e2148fb37aa0f5fe3eca08c6
2007-06-04Set WM_STATE, iconify invisible windows (+9 loc)Stefan O'Rear
Note that this breaks compatibility with certain programs described as "obsolete" in the ICCCM (1994). See the command above the UnmapEvent handler for details. darcs-hash:20070604042343-e3110-4766eafca2875091189159f6a1df29eac3c21387
2007-06-04do not cache atom values within Xmonad, instead let Xlib worry about caching ↵Stefan O'Rear
(a documented feature) darcs-hash:20070604013938-e3110-8dc84f03278c55076a5cf83013974689c4861ffc