~alan-griffiths/miral/fix-1645284

« back to all changes in this revision

Viewing changes to tasks_for_the_interested_reader.md

  • Committer: Alan Griffiths
  • Date: 2016-11-16 16:25:36 UTC
  • mfrom: (446 miral)
  • mto: This revision was merged to the branch mainline in revision 451.
  • Revision ID: alan@octopull.co.uk-20161116162536-fxlkrgnmyr78aq2v
merge :parent

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
possible, without much consideration of being useful. Here are some suggestions
80
80
for a better approach:
81
81
 
82
 
 - top level windows ought to fill the tile when created
83
 
 
84
 
 - the tiling algorithm ought to lay windows out as follows:
85
 
 
86
 
    - Single window: takes up the whole screen
87
 
    
88
 
    - Two windows: The screen is split in two tiles of equal width (half the
89
 
      screen’s width) and full height. Each window is placed in a tile (left
90
 
      or right), with the newest window occupying the left tile.
91
 
      
92
 
    - Three or more windows: The screen is split in two tiles of equal width
93
 
      and full height, as in the previous case. The newest window occupies
94
 
      the left tile. The right part is now further divided vertically into
95
 
      smaller tiles having equal height, to host the remaining windows, with
96
 
      older windows being closer to the bottom.
97
 
 
98
82
 - Add a titlebar to the top of the screen. The titlebar should be split evenly
99
83
   into horizontal blocks, one per tile. Each block containing the title of the
100
84
   top-level window. The focussed tile is highlighted. Clicking on a title