Re: [ctwm] [rt.lp.se #129] Funny behaviour of Occupy Window

2007-01-25 Thread Rhialto
On Tue 23 Jan 2007 at 00:06:31 +0100, Olaf Seibert via RT wrote:
 Do the following steps to see some funny behaviour of the Occupy window:

(etc)

I think I've fixed all of this nonsense by a big simplification of the
Occupy/Workspacemanager related code, such as calculating the position
of everything in those windows in only one location. This is in revision
6a94e9c5ce42aa64c1cbece480aea701556fa0f4 with the following notes in
CHANGES:

   19 - Simplifications c.q. de-duplications of code regarding the
WorkSpaceManager and Occupation windows. This includes coding
the layout of these windows only once instead of twice (at
initialisation and when resizing). If it's wrong now at least it
should be consistent.
When changing occupation via functions like
f.movetonextworkspace, also move complete window groups (just
like when you do it via the Occupation window).
Also fixed changing the occupation of the Occupation window.
Documented (so far) undocumented possibility to edit the labels
of workspaces on the fly (what use this is, I'm not sure).
Removed some unused variables.

I'm closing the ticket (well I'm going to try anyway :-)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl-- Cetero censeo authored delendum esse.



Re: [ctwm] [rt.lp.se #129] Funny behaviour of Occupy Window

2007-01-25 Thread Olaf Seibert via RT
On Tue 23 Jan 2007 at 00:06:31 +0100, Olaf Seibert via RT wrote:
 Do the following steps to see some funny behaviour of the Occupy window:

(etc)

I think I've fixed all of this nonsense by a big simplification of the
Occupy/Workspacemanager related code, such as calculating the position
of everything in those windows in only one location. This is in revision
6a94e9c5ce42aa64c1cbece480aea701556fa0f4 with the following notes in
CHANGES:

   19 - Simplifications c.q. de-duplications of code regarding the
WorkSpaceManager and Occupation windows. This includes coding
the layout of these windows only once instead of twice (at
initialisation and when resizing). If it's wrong now at least it
should be consistent.
When changing occupation via functions like
f.movetonextworkspace, also move complete window groups (just
like when you do it via the Occupation window).
Also fixed changing the occupation of the Occupation window.
Documented (so far) undocumented possibility to edit the labels
of workspaces on the fly (what use this is, I'm not sure).
Removed some unused variables.

I'm closing the ticket (well I'm going to try anyway :-)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl-- Cetero censeo authored delendum esse.




Re: [ctwm] [rt.lp.se #129] Funny behaviour of Occupy Window

2007-01-23 Thread Rhialto
On Tue 23 Jan 2007 at 08:32:40 +0100, Matthew D. Fuller via RT wrote:
 Speaking of funny behavior of the Occupy window, has anybody ever seen
 anything like my post ~1.5 years ago about odd sized Occupy windows
 not [re]drawing?  I'm still stuck with manually sizing them up a pixel
 or two every time I start ctwm so that they show up.

The Occupy window seems to take its sizes from the WorkSpaceManager
window. If you change that size in your .ctwmrc a bit, does the problem
go away? (I have never seen the effect, maybe I can create it in this
way, too).

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl-- Cetero censeo authored delendum esse.


Re: [ctwm] [rt.lp.se #129] Funny behaviour of Occupy Window

2007-01-23 Thread Olaf Seibert via RT
On Tue 23 Jan 2007 at 08:32:40 +0100, Matthew D. Fuller via RT wrote:
 Speaking of funny behavior of the Occupy window, has anybody ever seen
 anything like my post ~1.5 years ago about odd sized Occupy windows
 not [re]drawing?  I'm still stuck with manually sizing them up a pixel
 or two every time I start ctwm so that they show up.

The Occupy window seems to take its sizes from the WorkSpaceManager
window. If you change that size in your .ctwmrc a bit, does the problem
go away? (I have never seen the effect, maybe I can create it in this
way, too).

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl-- Cetero censeo authored delendum esse.




Re: [ctwm] [rt.lp.se #129] Funny behaviour of Occupy Window

2007-01-22 Thread Matthew D. Fuller via RT
On Tue, Jan 23, 2007 at 12:06:31AM +0100 I heard the voice of
Olaf Seibert via RT, and lo! it spake thus:

 Do the following steps to see some funny behaviour of the Occupy
 window:

Speaking of funny behavior of the Occupy window, has anybody ever seen
anything like my post ~1.5 years ago about odd sized Occupy windows
not [re]drawing?  I'm still stuck with manually sizing them up a pixel
or two every time I start ctwm so that they show up.

Subject: Terribly odd Occupy window...
Date: Sun, 5 Jun 2005 03:06:42 -0500
Message-ID: [EMAIL PROTECTED]

Or: http://tigerdyr.wheel.dk/ctwm-archive/1560.html


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.