BurntSushi / wingo

A fully-featured window manager written in Go.
Do What The F*ck You Want To Public License
1k stars 87 forks source link

Window being drawn before hook is taken into account #74

Open r4-xx opened 11 years ago

r4-xx commented 11 years ago

Steps to reproduce:

  1. Create hook that modifies a specific windows placement, size, and decorations.
  2. Open window.

What happens: Window is created with respect to the workspace's layout, then modified.

What's expected: Window is created with respect to the hook, then drawn on the workspace.

Reasoning: With the current behavior, the newly created window temporarily modifies the layout of other window placements. This can create weird redraw issues when running applications within a terminal (ie: tmux -> weechat/irssi).