aboutsummaryrefslogblamecommitdiffstats
path: root/TODO
blob: 9be9b942bdcee5ef6b26f0429c5b55ef67795670 (plain) (tree)
1
2
3
4
5
6
7



                                                                          

                                                                
 















                                                                           

         


                                                                         
                                          
                                                  


                                                                            
 
                                 
- tasks before 0.1:
    - tiling
    - Refactor to make user configuration reasonable.  There should be one
      file (Config.hs) with all the knobs a user can twist.
    - Code clean up after tiling and StackSet changes
    - Make sure the quickchecks make sense with the new StackSet

- think about the statusbar/multithreading.
    Three shared TVars:
        windowTitle :: TVar String
        workspace   :: TVar Int
        statusText  :: TVar String
    Three threads:
        Main thread, handles all of the events that it handles now.  When
        necessary, it writes to workspace or windowTitle

        Status IO thread, the algorithm is something like this:
            forever $ do
                s <- getLine
                atomic (writeTVar statusText s)

        Statusbar drawing thread, waits for changes in all three TVars, and
        redraws whenever it finds a change.

- tiling:
    - Layout calculation: the current algorithm is crude, windows overlap
    - make focus remain between workspace switches
    - change focus in the StackSet structure on EnterNotify
    - let mod+enter demote a master window
    - borders (low priority, maybe wait until 0.2)
    - get this to play nicely with Xinerama (at least under TwinView, things
      are very strange)
    - let click events/scrollwheel events change the focus

* Tile vertically/ resize height.