Don Stewart
d16d751207
when focus is called from an event, better refresh too, since it might have switched workspaces (so gap follows screen focus)
2007-05-27 15:19:42 +00:00
Don Stewart
2231879268
only set gap on current physical screen
2007-05-27 15:08:05 +00:00
Don Stewart
5fdbe0711d
gap
2007-05-27 15:00:53 +00:00
Don Stewart
7fb1dd96de
todo
2007-05-27 14:32:16 +00:00
Don Stewart
77f59efcc6
revert raiseWindow in focus. Leads to some funny races with pop ups. Harmless with status bar support now
2007-05-27 13:45:05 +00:00
Don Stewart
bb4bd97c87
mod-b, toggle on or off the status bar gap
2007-05-27 12:59:28 +00:00
Don Stewart
a64c9f1856
Add new config value, defaultMenuGap, for specifying a gap for a status bar
...
By default, it is 0 (set in Config.hs), but set this to a pixel count to
get a permanent gap at the top of the screen. You can then at startup
launch dzen, and it will run in this gap, and not be obscured by other
windows.
Perfect for a persistant status bar.
2007-05-27 12:27:02 +00:00
Don Stewart
e5e4b46ffa
raiseWindow when settings focus. The focused window should always be raised, I think
2007-05-27 09:41:05 +00:00
Don Stewart
7be0a2103d
Be a bit more conservative with -O flags, and GC. Hope to avoid runtime GC bug
2007-05-27 07:44:38 +00:00
Don Stewart
ef5326ccff
dead code
2007-05-27 07:26:52 +00:00
Don Stewart
ee2c2c311b
refactor code smell in Operation.hs
2007-05-27 07:21:35 +00:00
Don Stewart
fdc6af5faa
clean Main.hs slightly
2007-05-27 07:21:06 +00:00
Don Stewart
325329e5d7
todo
2007-05-27 06:37:40 +00:00
Jason Creighton
8cfe050be7
Generate keybindings section in manpage from Config.hs
2007-05-27 06:29:14 +00:00
Don Stewart
d3f56af172
specify --user, spotted by fasta
2007-05-27 01:40:32 +00:00
Don Stewart
60f4f4e5e4
HEADS UP: change key binding for swapLeft/Right and IncMaster
...
The use of arrow keys for swapLeft/Right clash with firefox's back
button. Use the more intuitive mod-shift-jk for this. (It's a movement
operation, after all).
This clashes with IncMaster, so we use mod+comma and mod+period for
these (i.e. the keys mod < and mod > , to move windows to and from the
master area).
While we're here, replace the use of the terms 'left' and 'right' for
navigation, in comments and identifiers, with 'up' and 'down' instead.
Hence mod-j == focusDown. Far more intuitive for people (dons) who live
in fullscreen mode and have vim movement wired into their central
nervous system.
Principle of least VI surprise: movement down or up means using j and k.
2007-05-26 11:14:53 +00:00
Don Stewart
6346e11ff6
type sig for abort.
2007-05-26 06:14:50 +00:00
Neil Mitchell
a5aa4b1686
Add an abort function, called for deliberate and intentional errors
2007-05-23 23:32:12 +00:00
Neil Mitchell
6f9998ad27
Delete the Catch wrapper, no longer required by the latest version of Catch
2007-05-23 23:29:41 +00:00
Don Stewart
e64e434750
start on TODO list needed for 0.2 to be tagged
2007-05-26 06:07:20 +00:00
glasser
52608185b4
Add a test that the size field of StackSet is correct to QuickCheck invariant.
2007-05-25 16:31:59 +00:00
Spencer Janssen
8d6b914409
Formatting only
2007-05-25 21:44:14 +00:00
Rob
7afc18b0e1
Quickcheck property to check that delete / focus behaviour
...
See patch "Deleting a window should not affect focus". Checks this property.
2007-05-25 03:54:32 +00:00
Rob
a36bd31973
Fix bug in noDuplicate invariant
...
ws used by noDuplicates is actually a list of list of elements which
will pretty rarely raise any flags even if the StackSet actually does
contain duplicates. This patch concatenates ws to ensure the quickcheck
property tests accurately.
2007-05-25 06:08:42 +00:00
Spencer Janssen
d502891ef0
Add a note about already installed packages
2007-05-25 15:31:43 +00:00
Rob
f8caf7f982
Deleting a window should not affect focus
...
This fixes a bug whereby deleting a window will first move focus to
that window before deleting it without moving focus back afterwards.
The fix generalises the remove inner function to delete a window from
the stack whether it's in focus or not. If the window is in focus,
behaviour remains as it was.
2007-05-25 02:41:18 +00:00
Spencer Janssen
654e64b772
Use --resume by default
2007-05-23 19:14:18 +00:00
bobstopper
bcf305cd1e
add swapLeft and swapRight
2007-05-22 05:00:08 +00:00
Spencer Janssen
0df8dffc78
restart: don't preserve old args
2007-05-22 06:03:57 +00:00
Spencer Janssen
865939b660
Wibble
2007-05-22 04:38:44 +00:00
Spencer Janssen
9b52525417
Generalize withDisplay's type
2007-05-22 04:37:58 +00:00
Don Stewart
3202fa0673
refactor using whenX
2007-05-22 04:31:16 +00:00
Spencer Janssen
07a354e5a3
Add preliminary randr support
2007-05-22 04:02:28 +00:00
Neil Mitchell
c4dd126200
Update the Catch checking to the new interface for StackSet
2007-05-22 01:54:22 +00:00
Spencer Janssen
e300df5425
Remove the magic '2'
2007-05-21 23:45:35 +00:00
Spencer Janssen
d074b1bcfd
List --resume args first
2007-05-21 23:24:27 +00:00
Spencer Janssen
ff975f6d40
Move special case 'view' code into 'windows'.
...
This is ugly right now -- I promise to clean it up later.
2007-05-21 21:56:46 +00:00
Spencer Janssen
a9d7b7ef49
Experimental support for a beefier restart.
2007-05-21 19:46:53 +00:00
Spencer Janssen
270d80297f
Catch the exception rather than explicitly checking the PATH
2007-05-21 19:19:00 +00:00
Spencer Janssen
3c2ad2509e
Put restart in the X monad
2007-05-21 19:07:49 +00:00
Spencer Janssen
90dd7705a8
Show instances for WorkspaceId and ScreenId
2007-05-21 19:07:04 +00:00
Spencer Janssen
127fd0b309
Read instance for StackSet
2007-05-21 18:45:04 +00:00
Spencer Janssen
c8cfc1faca
Remove redundant fromIntegrals
2007-05-21 16:51:23 +00:00
Spencer Janssen
daefb508d7
Use Position for dimensions
2007-05-21 16:28:09 +00:00
Spencer Janssen
b59d4d1dc0
Make screen info dynamic: first step to supporting randr
2007-05-21 15:27:59 +00:00
Don Stewart
b1345e037c
modify
2007-05-21 11:57:50 +00:00
Don Stewart
ea80d2a71f
Move xinerama current/visible/hidden workspace logic into StackSet directly.
2007-05-21 05:52:53 +00:00
Jason Creighton
02073c547b
s/workspace/windowset/
2007-05-21 04:03:30 +00:00
Jason Creighton
5c44fa79fd
focusWindow: always view the containing workspace first
2007-05-21 03:55:51 +00:00
Don Stewart
d28d4251e0
explicit export list for StackSet
2007-05-21 02:52:50 +00:00