aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Give refresh sole responsibility for establishing window properties (-3 loc)Stefan O'Rear2007-06-092-17/+11
| | | | darcs-hash:20070609185835-e3110-4561eca8bf83e9d05d90cdd75bc1ddce5855087f.gz
* HEADS UP: (logging format change). use a custom pretty printer, for an ↵Don Stewart2007-06-094-5/+44
| | | | | | easier format to parse, than 'show' produces darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1.gz
* Add notes on using X11-extras from darcsDon Stewart2007-06-091-0/+11
| | | | darcs-hash:20070609025045-9c5c1-367411951a3ebf02afc7e8ce3a3f673124afaf4f.gz
* Fix unmap handlingSpencer Janssen2007-06-063-19/+38
| | | | | | | | | | | | | | | | | | | 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.gz
* dead importDon Stewart2007-06-061-1/+1
| | | | darcs-hash:20070606025226-9c5c1-034e478b1212fcd36513beb77d2c3921761de169.gz
* move extraModifiers/cleanMask to Operations.hsJason Creighton2007-06-063-8/+13
| | | | | | so XMonadContrib can use them darcs-hash:20070606005056-b9aa7-96a3bb09f8e6dabd707eed7b5f19d733e5e1778e.gz
* temporary workaround for delete/focus issue in fullscreen modeDon Stewart2007-06-061-16/+22
| | | | darcs-hash:20070606024938-9c5c1-b89a2d864e408bfc96408d38013c14d1cde93014.gz
* whitespaceDon Stewart2007-06-061-1/+1
| | | | darcs-hash:20070606024857-9c5c1-0928bbc41b568e787e705e85ada9000547f2c790.gz
* simplify codeDon Stewart2007-06-061-1/+1
| | | | darcs-hash:20070606004603-9c5c1-2bae3b2eb4287ea0bc349d6f590f39626adbb985.gz
* mention why StackSet needs -fglasgow-exts (for deriving Typeable)Don Stewart2007-06-052-2/+4
| | | | darcs-hash:20070605092659-9c5c1-7eee6ed8801aa1c81e62d8dc62fa95035c4a5523.gz
* comments onlyDon Stewart2007-06-051-23/+5
| | | | darcs-hash:20070605091803-9c5c1-4f975ef36d67e93ebdc2f0c4345898a3eccc686e.gz
* clean size hint codeDon Stewart2007-06-051-22/+22
| | | | darcs-hash:20070605091354-9c5c1-25631fa2d8c438d3d21bfd5dd9aabc36e2520d53.gz
* Enable logging of state changes to stdoutDon Stewart2007-06-054-4/+13
| | | | darcs-hash:20070605083735-9c5c1-1ab5acbd611914caa7b5cdf1f2df338c0ee616f8.gz
* remove accidental logging of eventsDon Stewart2007-06-051-6/+3
| | | | darcs-hash:20070605081452-9c5c1-a384f89e9ed89678c96aee108a1b1e85cbff9d06.gz
* Fix lost eventNotifyMask bugDon Stewart2007-06-052-14/+46
| | | | | | | | | | | | | | | 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.gz
* whitespace onlyDon Stewart2007-06-051-8/+7
| | | | darcs-hash:20070605000723-9c5c1-f05c7c0ca57a21e02137e595a061f01db7d2442a.gz
* Comment onlySpencer Janssen2007-06-041-1/+2
| | | | darcs-hash:20070604211956-a5988-234b56ec2201d5f0e9c7fed6fd8af300cf6a6c0b.gz
* Wibble.Spencer Janssen2007-06-041-1/+1
| | | | darcs-hash:20070604211816-a5988-c387bea338520504cb4c2740b41e5d4a09807d03.gz
* -Wall policeSpencer Janssen2007-06-041-5/+8
| | | | darcs-hash:20070604211531-a5988-b12f8e4adbb881ac760733d2e022656329fc8f30.gz
* apply size hints to floating windowsPeter De Wachter2007-06-041-2/+4
| | | | darcs-hash:20070604192943-06a25-571e4d20a5cb05c292e071295586d7e024cf89ec.gz
* size hints infrastructurePeter De Wachter2007-06-041-0/+33
| | | | darcs-hash:20070604192753-06a25-20a4752a79da48c1f08b4a9556174c18928d844f.gz
* Delete stale commentSpencer Janssen2007-06-041-2/+0
| | | | darcs-hash:20070604204617-a5988-888a1c992b79e45260738a16e58017dab5061d6b.gz
* Comment onlySpencer Janssen2007-06-041-1/+0
| | | | darcs-hash:20070604203659-a5988-30920debba664beddd1581efffbdc33143d5ce15.gz
* Use 'windows' in 'focus'Spencer Janssen2007-06-041-1/+1
| | | | darcs-hash:20070604201639-a5988-07a811aea77e4e22ae853cd09ddb3a6cd3e1cd61.gz
* realign guardl.mai2007-06-041-1/+1
| | | | darcs-hash:20070604182045-42ea9-c6c9a4ddc19c0713008d71ea7119a5f37953b3dd.gz
* swapUp/Down are also mirroredSpencer Janssen2007-06-041-6/+5
| | | | darcs-hash:20070604183535-a5988-5ab9553321805a39ea9ada8aba0a4c53496eee4d.gz
* Remove redundant cases in swapUp/DownSpencer Janssen2007-06-041-2/+0
| | | | darcs-hash:20070604183344-a5988-77df217c8b8b2f958f1adfceb3ee8fe94942e9a8.gz
* focusUp/Down are the same, in reversed orderSpencer Janssen2007-06-041-6/+9
| | | | darcs-hash:20070604183143-a5988-9b9325a10eee13bb6bd96d20ca3b15c12c368883.gz
* Simplify focusUp/DownSpencer Janssen2007-06-041-4/+2
| | | | darcs-hash:20070604182228-a5988-4114dc5f3d0c5533f66cb2c34e2f3fe9566f19e0.gz
* Integral implies EqSpencer Janssen2007-06-041-1/+1
| | | | darcs-hash:20070604180745-a5988-bbeb0e2f34a21fe9853f67440e59929a1084c76d.gz
* Comment typo.Spencer Janssen2007-06-041-3/+0
| | | | darcs-hash:20070604180554-a5988-5faec5cb8f6c7cd9a7d29df883b078f6e5e0b793.gz
* Dump state at launch (commented for now)Spencer Janssen2007-06-041-0/+2
| | | | darcs-hash:20070604162450-a5988-e2d405b329d5f0dd0b33321f577dd63d3119b6d0.gz
* Small clean upSpencer Janssen2007-06-041-3/+2
| | | | darcs-hash:20070604064418-a5988-38ebeb4b8f5793db4ff1ae7dbd0d079bea552c87.gz
* Merge windows and refreshSpencer Janssen2007-06-041-40/+37
| | | | darcs-hash:20070604063657-a5988-502d9499134fce6562a8327ce3257d63a16207f2.gz
* Use the new integrate functionSpencer Janssen2007-06-042-4/+2
| | | | darcs-hash:20070604062653-a5988-8a6456ccc1dd03fa1c733e71dfa056dd76a91186.gz
* Add integrateSpencer Janssen2007-06-041-1/+8
| | | | darcs-hash:20070604062501-a5988-52b9c72b3f989ac55438677442db48d0cf5d06e7.gz
* Delete stale commentsSpencer Janssen2007-06-041-6/+1
| | | | darcs-hash:20070604061719-a5988-a1084b152584632c8f896423f8a03d8fe297b2d4.gz
* Remove inaccurate warnings about 'hide'Spencer Janssen2007-06-041-3/+0
| | | | darcs-hash:20070604060611-a5988-e324f35005d3b19ffced089499d086853f07cfad.gz
* base >Spencer Janssen2007-06-042-6/+6
| | | | darcs-hash:20070604050914-a5988-600a4ba6f2f294b0ce56b16e8887d493789f29c7.gz
* Remove no-longer-needed 'dimensions' state (-5 loc)Stefan O'Rear2007-06-043-10/+2
| | | | darcs-hash:20070604044715-e3110-7bd7ba2b78f80046e2148fb37aa0f5fe3eca08c6.gz
* Set WM_STATE, iconify invisible windows (+9 loc)Stefan O'Rear2007-06-043-15/+40
| | | | | | | | 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.gz
* clean up Main.hs slightlyDon Stewart2007-06-041-9/+9
| | | | darcs-hash:20070604035637-9c5c1-a5be67b987c402fe384f7a3c5c3443aabdf62885.gz
* whitespaceDon Stewart2007-06-041-3/+3
| | | | darcs-hash:20070604015532-9c5c1-1fda0e7e7cf686dc71785d3877a51d23f42b5919.gz
* -WallDon Stewart2007-06-041-1/+0
| | | | darcs-hash:20070604014630-9c5c1-4cd761ffdf2caab60d490fdc1fe189577a59272b.gz
* do not cache atom values within Xmonad, instead let Xlib worry about caching ↵Stefan O'Rear2007-06-043-8/+13
| | | | | | (a documented feature) darcs-hash:20070604013938-e3110-8dc84f03278c55076a5cf83013974689c4861ffc.gz
* Honor configure requests from unmanaged windowsSpencer Janssen2007-06-041-4/+4
| | | | darcs-hash:20070603234730-a5988-d156b988188c622428ef60456c7e48bd739e5f64.gz
* -Wall policeSpencer Janssen2007-06-031-4/+3
| | | | darcs-hash:20070603212055-a5988-154f62e30303e2ab406201d08318d070a914baa3.gz
* Correctly handle resize requests (-12 +22)Stefan O'Rear2007-06-031-12/+22
| | | | | | | | | | | | | | | | | | Xmonad now implements resize requests in a consistent manner. * If the window is FLOATING, we implement the program's request, and correctly update the StackSet; so it will keep the new size. This should work correctly even for non-current windows. * Otherwise, we ignore the request. As per ICCCM, we send a fake ConfigureNotify containing the new (unchanged) geometry. This is perfectly ICCCM compliant, and if it breaks your client, it's your own fault. This patch requires setConfigureEvent, which is added to X11-extras by a patch approximately contemporaneous with this one. darcs-hash:20070603203153-e3110-48f345cd3686f06fbe8ba30a6d851e7c8f44fe98.gz
* comments onlyDon Stewart2007-06-031-4/+13
| | | | darcs-hash:20070603071556-9c5c1-244aeb0d684f78ae0d3495547064a1203cd36762.gz
* Polish core layout code. Lifts limitation on nmaster > 1. it may be 0 nowDon Stewart2007-06-031-41/+41
| | | | darcs-hash:20070603064306-9c5c1-7cea709e0ea2b15f6ae395a6942072d91b1e97f2.gz