diff options
author | Jason Creighton <jcreigh@gmail.com> | 2007-05-31 06:47:33 +0200 |
---|---|---|
committer | Jason Creighton <jcreigh@gmail.com> | 2007-05-31 06:47:33 +0200 |
commit | 3de7f66af861fe0842fdcea4a36a7ce379b8ef8c (patch) | |
tree | 7aed1cb41e749ce10b1da2c4148593d8c320adb4 /Config.hs-boot | |
parent | 996da6ec214aa60f7da1484bd793041ac6ca4ab1 (diff) | |
download | metatile-3de7f66af861fe0842fdcea4a36a7ce379b8ef8c.tar metatile-3de7f66af861fe0842fdcea4a36a7ce379b8ef8c.zip |
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.
darcs-hash:20070531044733-b9aa7-c96d5263e1d3447e91f436920f4d047050ce55d9
Diffstat (limited to 'Config.hs-boot')
-rw-r--r-- | Config.hs-boot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Config.hs-boot b/Config.hs-boot index 2d66ae1..681160a 100644 --- a/Config.hs-boot +++ b/Config.hs-boot @@ -1,3 +1,5 @@ module Config where import Graphics.X11.Xlib.Types (Dimension) +import Graphics.X11.Xlib (KeyMask) borderWidth :: Dimension +modMask :: KeyMask |