aboutsummaryrefslogtreecommitdiffstats
path: root/Operations.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Parameterise StackSet by two index types, rather than breaking abstractionDon Stewart2007-04-191-3/+3
| | | | darcs-hash:20070419012705-9c5c1-3aa97e02123af08c3f4500c9e9c3bb7ab4121652.gz
* Promote now swaps focused window with master windowDon Stewart2007-04-191-4/+1
| | | | | | | | | | | | | This means other windows are unaffected. The change from the previous cycling behaviour was felt necessary, since cycling isn't a terribly useful operation. Some properties that hold: focus is unchanged by promotion promote is idempotent (promoting twice does nothing) the focused and master window will swap their positions in the stack darcs-hash:20070418224236-9c5c1-4539f9f397e181f91dc9743e3ffac4b5796c0fac.gz
* test for xmonad in path first, before restartingDon Stewart2007-04-161-3/+7
| | | | darcs-hash:20070416025541-9c5c1-16be9a7ee5e4d1c3d319be7890f0812c56986116.gz
* fix typo.David Roundy2007-04-151-1/+1
| | | | darcs-hash:20070415055616-72aca-b81f926fe289216aa59af135f34db069eefce0a2.gz
* Ignore window entries while moving windows. This should fix all the focus ↵Spencer Janssen2007-04-131-0/+11
| | | | | | preservation problems. darcs-hash:20070413083702-a5988-20863eaa042f45a1421a6f171d9a8c42a7854883.gz
* add license headers to two missing filesDon Stewart2007-04-111-0/+12
| | | | darcs-hash:20070411081042-9c5c1-05a68bbf16969dbb8854b37ab9b72e042d7fac9a.gz
* clean up tiling code a teensy bit, and comment on the interaction between ↵Don Stewart2007-04-111-5/+14
| | | | | | focus, master, and cycling direction between the modes darcs-hash:20070411080747-9c5c1-0f6e9cc92481db8ba812976ee8d3cb0f7dde6626.gz
* Change semantics of 'promote'.Don Stewart2007-04-111-7/+3
| | | | | | | | | | | | Previously 'promote' would move the currently focused window into the master position in tiled mode. This was *almost* a cycle of the windows, but not quite (depending on where the focus was, it was in fact a cycle). Now we do the obvious generalisation, and just cycle the current window stack. Simpler to understand, simpler to reason about. darcs-hash:20070411073456-9c5c1-3ee88f9ac46e2301b4c803ec4fd66798e6fee91d.gz
* Statically distinguish Workspace and Screen indicesDon Stewart2007-04-111-12/+10
| | | | darcs-hash:20070411060456-9c5c1-a5642813cffe434e60310d21497217ef3704b296.gz
* removed xinerama-enabled dmenu actionJason Creighton2007-04-111-10/+0
| | | | | | | | | I don't think we're going to see any Xinerama support upstream, at least not anytime soon. It doesn't make sense to ship something with xmonad that isn't going to work out of the box. So for now Xinerama users should just use this patch: http://www.jcreigh.com/xmonad/xinerama-dmenu.html darcs-hash:20070411024716-b9aa7-e41d85ad5030a6a4eb6120257e8a5f2d1adaf00f.gz
* Move workspace fetching logic from Config.hs to Operations.hsSpencer Janssen2007-04-101-0/+4
| | | | darcs-hash:20070410064714-a5988-e9b1fac201a546d1722db41213efc81223007e43.gz
* moved screen <-> workspace mapping from XMonad to StackSetJason Creighton2007-04-101-30/+12
| | | | darcs-hash:20070410062731-b9aa7-e1768a3fe6c0e3c749400dffc4a5a5e33e6a08c4.gz
* Remove redundant setFocus, setFocus is called by refresh which is called by ↵Spencer Janssen2007-04-051-3/+0
| | | | | | windows darcs-hash:20070405215832-a5988-87a975ad9fcea125d7d8ba3497d7bc0289a3f158.gz
* -Wall policeDon Stewart2007-04-051-3/+3
| | | | darcs-hash:20070405000100-9c5c1-aab51f7bfb20248e9a601b7af5107591db48af8c.gz
* take window borders into account when resizing (requires latest X11-extras)Jason Creighton2007-04-041-1/+10
| | | | darcs-hash:20070404021612-b9aa7-842163845e3969d9f5446065bc3fe57606501a48.gz
* replace multiple gets with a single get and record bindDon Stewart2007-04-041-16/+9
| | | | darcs-hash:20070404010524-9c5c1-ae8b8c6a6e47d6676fb1fa77d800eb6485ac3424.gz
* Use Tall and Wide for split screen layouts. This should be less confusing.Spencer Janssen2007-04-031-5/+5
| | | | darcs-hash:20070403050610-a5988-34a441f8eb299905ed28d415a9524121585d06d0.gz
* vertical (master area on top) tilingJason Creighton2007-04-031-3/+9
| | | | darcs-hash:20070403040658-b9aa7-4bbe82e188fd19de00f8d6f86a3e4d3b4a39bf01.gz
* Comment only.Spencer Janssen2007-04-021-0/+5
| | | | darcs-hash:20070402072418-a5988-3b4db0be791c44772e0ce4ec49df25c16edaee94.gz
* Revert to the old layout code.Spencer Janssen2007-04-021-113/+26
| | | | darcs-hash:20070402045114-a5988-3fa15b1c4d8d79494bf430dcad921d22cdfa8d16.gz
* Remove trailing spaces, no content changedAlec Berryman2007-04-011-6/+6
| | | | darcs-hash:20070401144539-39448-1903870c5ef75cc918a8ea3153c5b154feb4e644.gz
* "dmenu" operation to spawn dmenu only on the current screen (for Xinerama)Jason Creighton2007-04-011-0/+11
| | | | | | | | | This requires a dmenu that will accept -x and -w. Currently, This means applying this patch: http://www.jcreigh.com/dmenu/position-options.patch (I'm trying to see if I can get this into dmenu upstream; haven't heard anything back yet.) darcs-hash:20070401012712-b9aa7-00f28388a705814f8e542e8b25b1b41922e3cc6c.gz
* Cleaned up layout a little bithughes2007-04-011-13/+35
| | | | darcs-hash:20070401023639-3a569-2b7b3e7e7b2f26ebb77590053d8360ee736cfbc3.gz
* restore dwm-style keybindings. mod-shift-{j,k} resize in vert modeDon Stewart2007-04-011-1/+5
| | | | darcs-hash:20070401025433-9c5c1-79adc3fdb8db4cf7929dd6d121ec66c21f24a0e2.gz
* Merged things together with dons changes.hughes2007-04-011-29/+54
| | | | darcs-hash:20070401021846-3a569-083f7d441afc41bdeef843113c1de1d3a5e40ee3.gz
* Vertical/horizontal split, and resizability.hughes2007-04-011-22/+59
| | | | darcs-hash:20070401014706-3a569-26a764b57274f67057adf0b81eb71158b58f49de.gz
* formatting fixes. the style is getting a bit dodgy in some places...Don Stewart2007-04-011-30/+35
| | | | darcs-hash:20070401002803-9c5c1-e15fd397cbaf1182a13e1c55ca024ef2ef2fdbae.gz
* Move safeFocus from Main to OperationsSpencer Janssen2007-03-311-0/+7
| | | | darcs-hash:20070331010024-a5988-73c72204cd204872dd7a2339c1e805e2a0578a58.gz
* removed refocus; moved functionality to setFocusJason Creighton2007-03-311-15/+9
| | | | darcs-hash:20070331003442-b9aa7-98dbb2a95ac070ced1efe307317fdd4732c1e38e.gz
* refactored "focus changed" code into "refocus"Jason Creighton2007-03-301-3/+10
| | | | darcs-hash:20070330035454-b9aa7-54e1b09c030cec67d02902847258a2a14dcdc409.gz
* Window bordersAlec Berryman2007-03-291-0/+10
| | | | | | | | | | Colors taken from dwm's config.default.h and hard-coded in Operations instead of Config because of import cycle. Windows overlap slightly in the current tiling algorithm and sometimes prevent the active window from being completely surrounded by a red border. darcs-hash:20070329182159-39448-deabaeaf89d87bb71abc851b6bae1ffa356e5561.gz
* Type error: button1 :: Button, not :: ButtonMaskAlec Berryman2007-03-291-1/+1
| | | | darcs-hash:20070329024330-39448-e216b34ecbe8822e90a4bf1a65ebea22a7261c49.gz
* first shot at allowing click to focus windowsdaniel2007-03-281-4/+15
| | | | darcs-hash:20070328101540-c98ca-92140a718ff7491aa88895c0592cd9a964e671b0.gz
* Workspace-specific layoutshughes2007-03-261-11/+24
| | | | darcs-hash:20070326150213-3a569-64dd38c00558d58f27c3803ab15485892c24cfaa.gz
* Focus follows mouse.Spencer Janssen2007-03-261-1/+5
| | | | | | | | | This change makes the window under the mouse pointer the focused window. This isn't quite what we want, but it is a step in the right direction. The next step is to somehow inhibit the CrossingEvents generated during workspace and layout switches. darcs-hash:20070326124725-a5988-825770ffc28620d16b7aba0541e3abff29b46680.gz
* minor aesthetic changesdaniel2007-03-261-6/+6
| | | | darcs-hash:20070326073339-c98ca-189e5a913582d8f6cf3ec6c7a01f39cf8718a222.gz
* Restrain leftWidthSpencer Janssen2007-03-261-1/+2
| | | | darcs-hash:20070326095034-a5988-5f1abf81e8f5fbc9844dd62494cd1ffdd38066ed.gz
* added Config.lhs and moved most things in Main.hs into Operations.hs to ↵Jason Creighton2007-03-261-0/+205
enable this darcs-hash:20070326051341-b9aa7-c7743c45bfea2341d5dd98428996195fac96d67c.gz