Window placement and calculate-workarea
- From: Rafal Kolanski <rafalk cse unsw edu au>
- To: General discussion about sawfish wm <sawfish-list gnome org>
- Subject: Window placement and calculate-workarea
- Date: Fri, 12 Sep 2008 21:59:19 +1000
Looking at how first-fit placement works (and top-left too), they seem
to call (calculate-workarea #:window w) for the window being created.
Inside calculate-workarea, I see this:
(setq head (current-head window)))
However, on my system, (current-head window) for a freshly created
window always returns head 0 ... it doesn't make sense to me why one
would want that anyway. I'd want to get the head that currently has
input focus, or even the mouse cursor.
Does anyone know why this is the way it is?
] [Thread Prev