Malebria
5f4d63ba71
Haddock links
2008-06-01 21:25:15 +00:00
Malebria
942572c830
Haddock syntax for enumeration
2008-06-01 20:49:51 +00:00
Spencer Janssen
46ac2ca24b
I prefer the spencerjanssen@gmail.com address now
2008-07-14 20:26:50 +00:00
Klaus Weidner
d8d636e573
Remember if focus changes were caused by mouse actions or by key commands
...
If the user used the mouse to change window focus (moving into or clicking on a
window), this should be handled differently than focus changes due to keyboard
commands. Specifically, it's inappropriate to discard window enter/leave events
while the mouse is moving. This fixes the bug where a fast mouse motion across
multiple windows resulted in the wrong window keeping focus.
It's also helpful information for contrib modules such as UpdatePointer - it's
supposed to move the mouse pointer only in response to keyboard actions, not if
the user was moving the mouse.
2008-05-02 17:56:03 +00:00
Spencer Janssen
708084dd48
Remove gaps
2008-03-25 09:15:26 +00:00
Spencer Janssen
46bc3bbd17
Also print compilation errors to stderr
2008-03-24 22:58:57 +00:00
Andrea Rossato
db08970071
add sendMessageWithNoRefresh and have broadcastMessage use it
...
This patch:
- moves broadcastMessage and restart from Core to Operations (to avoid
circular imports);
- in Operations introduces sendMessageWithNoRefresh and move
updateLayout outside windows.
- broadcastMessage now uses sendMessageWithNoRefresh to obey to this
rules:
1. if handleMessage returns Nothing no action is taken;
2. if handleMessage returns a Just ml *only* the layout field of the
workspace record will be updated.
2008-02-23 13:07:02 +00:00
Don Stewart
04ee55c3ca
comments
2008-03-22 04:16:54 +00:00
Don Stewart
4bd9073937
formatting
2008-03-21 23:09:56 +00:00
Brent Yorgey
e97c326ff0
update documentation
2008-03-11 16:07:27 +00:00
Andrea Rossato
669a162cfc
runLayout is now a LayoutClass method and takes the Workspace and the screen Rectangle
2008-02-22 17:58:15 +00:00
Brent Yorgey
9d9acba45f
Add a startupHook.
...
The only thing I am not sure about here is at what exact point the
startupHook should get run. I picked a place that seems to make sense:
as late as possible, right before entering the main loop. That way all
the layouts/workspaces/other state are set up and the startupHook can
manipulate them.
2008-02-04 19:24:45 +00:00
Brent Yorgey
cc2754d82a
Core.hs: add an Applicative instance for X
2008-02-04 19:23:48 +00:00
Don Stewart
1de1bcded2
module uses CPP
2008-02-06 19:05:21 +00:00
Spencer Janssen
0c697ebbb4
Rename runManageHook to runQuery
2008-02-04 05:33:36 +00:00
daniel
a626083721
let enter dismiss compile errors
2008-02-03 20:28:52 +00:00
Brent Yorgey
481e42ab72
Core.hs, StackSet.hs: some documentation updates
2008-02-01 19:06:53 +00:00
Spencer Janssen
f80d593d57
Generalize the type of catchIO, use it in Main.hs
2008-01-28 05:46:51 +00:00
Andrea Rossato
10be8aaae0
Add emptyLayout to LayoutClass, a method to be called when a workspace is empty
2008-01-24 01:32:07 +00:00
nicolas.pouillard
e095621ab9
Export doubleFork
2008-01-14 20:26:12 +00:00
Lukas Mai
93c55c948e
reword comment (previous version didn't make sense to me)
2007-11-22 16:59:25 +00:00
nicolas.pouillard
9ff105340e
The recompile function now returns a boolean status instead of ().
2008-01-05 22:55:00 +00:00
Spencer Janssen
5e61b137fb
Make focus-follows-mouse configurable
2007-12-29 02:33:01 +00:00
Spencer Janssen
aeef36f74c
Strictify all XConfig fields, gives nice error messages when a field is forgotten on construction
2007-12-29 02:19:23 +00:00
Spencer Janssen
673f303646
Spelling
2007-12-29 02:16:28 +00:00
Spencer Janssen
7f3c6823d4
Wibble
2007-12-29 02:15:19 +00:00
Spencer Janssen
f5e55f3a27
Wibble
2007-12-22 04:11:51 +00:00
Spencer Janssen
31c7734f7b
Remove getProgName capability from restart, we don't use it anymore
2007-12-19 21:50:11 +00:00
Spencer Janssen
d1af7d986d
Flush pending X calls before restarting
2007-12-19 16:20:29 +00:00
tim.thelion
da167bfc11
Allow for sharing of home directory across architectures.
2007-12-18 06:51:46 +00:00
Spencer Janssen
c46f3ad549
Call 'broadcastMessage ReleaseResources' in restart
2007-12-19 06:57:10 +00:00
Lukas Mai
9ceef229c3
normalize Module headers
2007-12-10 08:53:27 +00:00
Andrea Rossato
a29590034a
Typos and formatting
2007-11-24 14:32:21 +00:00
Spencer Janssen
039d9e2b96
Hide generalized newtype deriving from Haddock
2007-12-08 01:50:15 +00:00
Lukas Mai
6908189698
make Query a MonadIO
2007-11-28 19:51:26 +00:00
Lukas Mai
4fa10442ab
add getXMonadDir (2nd try)
2007-11-21 18:30:18 +00:00
Don Stewart
c95b8d9160
generalise type of `io'
2007-11-21 05:44:07 +00:00
Spencer Janssen
92b4510d7b
Add recompilation forcing, clean up recompile's documentation
2007-11-20 22:36:14 +00:00
Spencer Janssen
6114bb371e
recompile does not raise any exceptions
2007-11-20 21:58:35 +00:00
Spencer Janssen
7e2ec3840c
-no-recomp because we're doing our own recompilation checking
2007-11-20 21:57:44 +00:00
Don Stewart
3456086f85
clean up fmap overuse with applicatives. more opportunities remain
2007-11-20 18:17:43 +00:00
Spencer Janssen
3b83895d28
ManageHook is a Monoid
2007-11-19 06:08:20 +00:00
Spencer Janssen
dc6ba6b5ee
No more liftM
2007-11-19 03:31:20 +00:00
Spencer Janssen
df5003eb16
Refactor recompile
2007-11-19 03:22:55 +00:00
Spencer Janssen
99dd1a30ba
Trailing space
2007-11-19 03:06:58 +00:00
Spencer Janssen
d6c5eb3e80
Generalize recompile to MonadIO
2007-11-19 03:04:36 +00:00
Spencer Janssen
9d9b733994
Factor out doubleFork logic
2007-11-19 03:03:53 +00:00
Don Stewart
ea71fd67e8
handle case of xmonad binary not existing, when checking recompilation
2007-11-19 03:00:57 +00:00
Don Stewart
e9eadd6141
Use executeFile directly, rather than the shell, avoiding sh interepeting
2007-11-19 02:50:15 +00:00
Don Stewart
ddf9e49e49
use 'spawn' rather than runProcess, to report errors asynchronously, avoiding zombies
2007-11-19 02:37:12 +00:00