mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-26 09:41:53 -07:00
Flatten module hierarchy
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{-# OPTIONS_GHC -fglasgow-exts #-}
|
||||
|
||||
module Thunk.Wm where
|
||||
module Wm where
|
||||
|
||||
import Data.Sequence
|
||||
import Control.Monad.State
|
@@ -1,4 +1,4 @@
|
||||
module Thunk.XlibExtras where
|
||||
module XlibExtras where
|
||||
|
||||
import Graphics.X11.Xlib
|
||||
import Graphics.X11.Xlib.Types
|
@@ -12,7 +12,7 @@ build-depends: base >= 2.0, X11, unix, mtl
|
||||
executable: thunk
|
||||
main-is: thunk.hs
|
||||
extensions: ForeignFunctionInterface
|
||||
other-modules: Thunk.XlibExtras
|
||||
other-modules: XlibExtras
|
||||
ghc-options: -O
|
||||
include-dirs: include
|
||||
-- OpenBSD:
|
||||
|
5
thunk.hs
5
thunk.hs
@@ -10,8 +10,9 @@ import System.IO
|
||||
import Graphics.X11.Xlib
|
||||
import System.Process (runCommand)
|
||||
import System.Exit
|
||||
import Thunk.Wm
|
||||
import Thunk.XlibExtras
|
||||
|
||||
import Wm
|
||||
import XlibExtras
|
||||
|
||||
handler :: Event -> Wm ()
|
||||
handler (MapRequestEvent {window = w}) = manage w
|
||||
|
Reference in New Issue
Block a user