[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Window menus and shade indicators
From:       Matthias Ettrich <ettrich () trolltech ! com>
Date:       2000-11-01 10:57:46
[Download RAW message or body]

Tuesday 31 October 2000 20:54 wrote Richard Moore:
> I've been looking at how to add window menus to kasbar, and
> looking at how it handled currently in the taskbar. It seems
> to me that this code is rather messy. Wouldn't it be much
> cleaner for the menu to be provided by kwin? This would mean
> that the code in the various taskbar applets could become as
> simple as:
>
> KWin::showWindowMenu( WId, int x, int y )
>
> What do you think?

You are right. The code currently is duplicated at a lot of places. I 
wouldn't use KWin::showWindowMenu, though, but a dcop call instead.

It's KDE2, after all :)

Matthias

>
> Rich.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic