Commit Graph

428 Commits

Author SHA1 Message Date
Don Stewart
9b429f4f41 whitespace 2007-06-04 01:55:32 +00:00
Don Stewart
ca896686a1 -Wall 2007-06-04 01:46:30 +00:00
Stefan O'Rear
f06d042b56 do not cache atom values within Xmonad, instead let Xlib worry about caching (a documented feature) 2007-06-04 01:39:38 +00:00
Spencer Janssen
29a32bc146 Honor configure requests from unmanaged windows 2007-06-03 23:47:30 +00:00
Spencer Janssen
27b7cccd3a -Wall police 2007-06-03 21:20:55 +00:00
Stefan O'Rear
b20a9cff7f Correctly handle resize requests (-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.
2007-06-03 20:31:53 +00:00
Don Stewart
8f3258a348 comments only 2007-06-03 07:15:56 +00:00
Don Stewart
0226ba3441 Polish core layout code. Lifts limitation on nmaster > 1. it may be 0 now 2007-06-03 06:43:06 +00:00
Don Stewart
84f22f7102 heads up: polish config.hs. moves tiling-local values into lexical scope. removes wide' as an explicit mode (it's mirror tall') 2007-06-03 05:47:40 +00:00
Don Stewart
7e9fbf5883 set build-depends base>=2.0 so people can't miss the missing Read instance issue 2007-06-03 03:23:19 +00:00
Chris Mears
7ae4bc8f39 Fix out-of-date comment in Config.hs. 2007-06-02 11:43:12 +00:00
Jason Creighton
a6098f6010 only grab button{1,2,3} for click-to-focus (scrollwheel shouldn't focus) 2007-06-02 05:26:05 +00:00
Jason Creighton
72a50ead89 make mouse bindings configurable 2007-06-02 04:06:47 +00:00
Don Stewart
0be589ae8c commented out implementation state logging. if someone has a client, we can enable this 2007-06-01 08:56:26 +00:00
Jason Creighton
b46a449baf ignore numlock/capslock on mouse bindings 2007-06-01 01:51:37 +00:00
Don Stewart
9669c26fdc now we handle transients properly, and restack windows, refresh from focus is ok 2007-06-01 02:23:29 +00:00
glasser
ddffd109ce Rename withWorkspace to withWindowSet. 2007-06-01 00:13:25 +00:00
Spencer Janssen
68e6643356 Revert accidental change to border color 2007-05-31 14:55:09 +00:00
Don Stewart
7246a9e2d2 comments on why fullscreen tiling doesn't work with `implicit' floating 2007-05-31 09:05:37 +00:00
Don Stewart
777cf28bdf clean up mouse code a bit 2007-05-31 08:53:08 +00:00
Jason Creighton
3cb64d7461 first shot at a floating layer
This is a first attempting at a floating layer:

mod-button1: move window
mod-button2: swapMaster
mod-button3: resize window

mod-t: make floating window tiled again

Moving or resizing a window automatically makes it floating.

Known issues:

Hard to manage stacking order. You can promote a window to move it to the top,
(which you can do with mod-button2) but it should be easier than that.

Moving a window by dragging it to a different Xinerama screen does not move it
to that workspace.

Code is ugly.
2007-05-31 04:47:33 +00:00
Jason Creighton
1d764ecf2e remove LOC cap (but still print count after tests) 2007-05-31 04:34:17 +00:00
Spencer Janssen
5594c71e66 Remove 0.2 TODOs v0.2 2007-05-31 00:58:55 +00:00
Spencer Janssen
a3479aa9f5 Bump version to 0.2 2007-05-30 20:25:29 +00:00
Spencer Janssen
b069f84add Minor style change. 2007-05-30 18:10:06 +00:00
nickburlett
fc08bd48b4 log errors on executeFile in restart
I found it difficult to track down a problem in the restart code where xmonad was silently not restarting. This will log the error to stderr, which should show up in .xsession-errors
2007-05-30 17:10:24 +00:00
Spencer Janssen
e83ae8ba62 Depend on X11-extras >= 0.2 2007-05-30 17:36:07 +00:00
Spencer Janssen
67ae8fcd7c Require X11 >= 1.2.1 2007-05-30 17:29:09 +00:00
Don Stewart
f6b14b7123 point out restart is used to propagate changes 2007-05-30 02:10:05 +00:00
Spencer Janssen
fbfbb14658 Really change restart keybinding this time 2007-05-30 06:14:54 +00:00
Spencer Janssen
79a9c58f92 HEADS UP: Change restart keybinding to mod-q 2007-05-30 06:10:44 +00:00
Spencer Janssen
bc2e6b2112 HEADS UP: Change restart keybinding to mod-q 2007-05-30 06:10:44 +00:00
Spencer Janssen
89417a6e25 Fix 'refresh' doc string 2007-05-29 02:04:46 +00:00
Jason Creighton
2be4f5f216 Give link to bugtracker in "BUGS" section of manpage 2007-05-29 01:58:51 +00:00
Don Stewart
c023e9a681 make 'tall' layout the default on startup. more useful for new users 2007-05-29 01:46:11 +00:00
Don Stewart
da63d4a4b7 notes about which dependant packages already come with ghc 2007-05-29 00:57:48 +00:00
Don Stewart
46b04b3fa5 forgot to set focus in 'focus'. this restores the old behaviour 2007-05-28 13:45:47 +00:00
Don Stewart
0b8c9c407e don't refresh on focus events
leads to a race. this will affect how gaps are redrawn when moving to a
new screen with the mouse.
2007-05-28 13:31:27 +00:00
Don Stewart
5818e5a7fc ensure !! won't go out of bounds in modifyGap 2007-05-28 07:06:09 +00:00
Don Stewart
eda3ab2849 mention .xinitrc 2007-05-28 06:12:52 +00:00
Don Stewart
c2318fa67d update readme 2007-05-28 05:14:44 +00:00
Spencer Janssen
f85dac53e4 Add the HTML manpage 2007-05-28 06:31:22 +00:00
Spencer Janssen
39fd73a7f7 Fix manpage generator 2007-05-28 06:26:58 +00:00
Don Stewart
abdbc23551 apply gap to each screen 2007-05-28 04:47:22 +00:00
Don Stewart
cf52e66ec1 move gapcalc.c 2007-05-28 04:04:02 +00:00
Spencer Janssen
f6bac98678 Remove gapcalc.c from the sdist, add generated manpage 2007-05-28 04:06:55 +00:00
Don Stewart
94b64e7035 help man script 2007-05-28 03:38:46 +00:00
Don Stewart
58f180aefb done with gap 2007-05-28 03:35:25 +00:00
Spencer Janssen
257aa4776f Document mod-n 2007-05-28 03:35:36 +00:00
Don Stewart
0cca848c54 be sure to reset the gap list on rescreen 2007-05-28 03:18:35 +00:00