Skip to content

Generalize the Window Command

Bastien Dejean edited this page Nov 30, 2015 · 17 revisions

The purpose of this draft is to examine how we might generalize the window command to handle internal tree nodes.

Selector

NODE_SEL := @[DESKTOP_SEL:]PATH

PATH := [/][MOVE](/MOVE)*

MOVE := first|second|parent|brother|DIR

Short notation (for the query command and events):

@(01)*

Behaviors

Focusing

  • Clear the input focus.
  • Draw the focused border for all the descendant leaves of the selected node.
  • Don't perform any stacking operation.
  • Behavior of focus_follows_pointer?

Preselection

Instead of drawing the preselected region on the window border (which won't make sense if more that one window is focused) we will create preselection windows and draw to the background of those windows.

We shall use pseudo-transparency for the non-preselected area.

Clone this wiki locally