Age | Commit message (Collapse) | Author |
|
darcs-hash:20070611202007-a5988-e7bc7a60a571e2f12e38aa548739fc8b898fdc4a
|
|
darcs-hash:20070611195827-a5988-a923fd26d5e2d440118981fe5164fee5b37234f2
|
|
darcs-hash:20070611191809-a5988-f8a49e4c6c6ec628a85c2204302a43d63547b042
|
|
darcs-hash:20070611185708-a5988-949d28a3b86ae564149777356af16fc68ed7b5f9
|
|
darcs-hash:20070611182629-a5988-384e2f82340497c833a68d909ea485017803fe9b
|
|
darcs-hash:20070611180123-a5988-6d080dc357baadd3be573cce2942f765ac4cd832
|
|
darcs-hash:20070611165154-a5988-8c46751ffd4bd03249656e3b467b8e7569c48b09
|
|
darcs-hash:20070611161152-a5988-1311671abda1c7edfa223255dff0128860b30d38
|
|
darcs-hash:20070611160608-a5988-a042d190c15b993b15da274db915ca73d9c8e089
|
|
darcs-hash:20070611153650-72aca-c802f2ac167c0e9232d17a2897163aca5a5479f0
|
|
darcs-hash:20070611061930-a5988-a427df20194b8b0aa53507676dc5d882b20de0b6
|
|
darcs-hash:20070611053230-a5988-67ce7423bb53d7c7ac27677e3fb86da46e7444b8
|
|
darcs-hash:20070611020249-b9aa7-d00e960a3f26a54acdc7a869ad88ee9d437a470b
|
|
darcs-hash:20070610153836-72aca-75025ca798e1b8c2c5d9f95257aef2bca0803749
|
|
darcs-hash:20070610013531-72aca-9f6807aed050b85a00bd11a69d05843c1cbedbaa
|
|
darcs-hash:20070610012237-72aca-4c5873773e58103f57f7a0b232da58c269248fa7
|
|
darcs-hash:20070610123746-32816-e5a1b61d81fa52f608d7936f900431bd6620c3c7
|
|
darcs-hash:20070610061932-9c5c1-9a08992ef555f086007474e64d5ae9d835e9677e
|
|
darcs-hash:20070610045551-9c5c1-a1604a4e90d160728b3c5cd12acb3b4febc3625a
|
|
darcs-hash:20070609173447-72aca-be4e1901fafb8d84f3cab02e976ccc2fa1086ca4
|
|
darcs-hash:20070609145036-72aca-161f75345ce8925c8db5df7ac283481de952edf4
|
|
(-3 loc)
darcs-hash:20070609185835-e3110-1eaa534465f66313044477acd9cae1bbbcf61950
|
|
darcs-hash:20070609185835-e3110-4561eca8bf83e9d05d90cdd75bc1ddce5855087f
|
|
easier format to parse, than 'show' produces
darcs-hash:20070609131716-9c5c1-ac6b3d7e8193b16ca9ae65f32d5373090107eca1
|
|
darcs-hash:20070609025045-9c5c1-367411951a3ebf02afc7e8ce3a3f673124afaf4f
|
|
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
|
|
darcs-hash:20070606025226-9c5c1-034e478b1212fcd36513beb77d2c3921761de169
|
|
so XMonadContrib can use them
darcs-hash:20070606005056-b9aa7-96a3bb09f8e6dabd707eed7b5f19d733e5e1778e
|
|
darcs-hash:20070606024938-9c5c1-b89a2d864e408bfc96408d38013c14d1cde93014
|
|
darcs-hash:20070606024857-9c5c1-0928bbc41b568e787e705e85ada9000547f2c790
|
|
darcs-hash:20070606004603-9c5c1-2bae3b2eb4287ea0bc349d6f590f39626adbb985
|
|
darcs-hash:20070605092659-9c5c1-7eee6ed8801aa1c81e62d8dc62fa95035c4a5523
|
|
darcs-hash:20070605091803-9c5c1-4f975ef36d67e93ebdc2f0c4345898a3eccc686e
|
|
darcs-hash:20070605091354-9c5c1-25631fa2d8c438d3d21bfd5dd9aabc36e2520d53
|
|
darcs-hash:20070605083735-9c5c1-1ab5acbd611914caa7b5cdf1f2df338c0ee616f8
|
|
darcs-hash:20070605081452-9c5c1-a384f89e9ed89678c96aee108a1b1e85cbff9d06
|
|
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
|
|
darcs-hash:20070605000723-9c5c1-f05c7c0ca57a21e02137e595a061f01db7d2442a
|
|
darcs-hash:20070604211956-a5988-234b56ec2201d5f0e9c7fed6fd8af300cf6a6c0b
|
|
darcs-hash:20070604211816-a5988-c387bea338520504cb4c2740b41e5d4a09807d03
|
|
darcs-hash:20070604211531-a5988-b12f8e4adbb881ac760733d2e022656329fc8f30
|
|
darcs-hash:20070604192943-06a25-571e4d20a5cb05c292e071295586d7e024cf89ec
|
|
darcs-hash:20070604192753-06a25-20a4752a79da48c1f08b4a9556174c18928d844f
|
|
darcs-hash:20070604204617-a5988-888a1c992b79e45260738a16e58017dab5061d6b
|
|
darcs-hash:20070604203659-a5988-30920debba664beddd1581efffbdc33143d5ce15
|
|
darcs-hash:20070604201639-a5988-07a811aea77e4e22ae853cd09ddb3a6cd3e1cd61
|
|
darcs-hash:20070604182045-42ea9-c6c9a4ddc19c0713008d71ea7119a5f37953b3dd
|
|
darcs-hash:20070604183535-a5988-5ab9553321805a39ea9ada8aba0a4c53496eee4d
|
|
darcs-hash:20070604183344-a5988-77df217c8b8b2f958f1adfceb3ee8fe94942e9a8
|
|
darcs-hash:20070604183143-a5988-9b9325a10eee13bb6bd96d20ca3b15c12c368883
|