Re: Stop alt-spacebar window menu



On Wed, May 27, 2009 at 8:11 PM, Bill Farmer
<williamjfarmer tiscali co uk> wrote:
I am porting a native windows application to linux gtk. I want to stop the
alt-spacebar key combination popping up the application window menu. This
can be done in windows by capturing the WM_SYSCHAR message. After searching
though the gtk documentation and sources, the only way I can see to do this
is by copying a file from the gdk sources, modifying it, and compiling it
with the application. This is complicated by the latest gtk source tarball
not including gdk. Is this because gdk hasn't changed since the last version
that contained it? Am I missing something?


Sorry, but I don't understand your wish completely!
First at all, why do you want to limit user's ability to access window menu?

Second, it is unclear, whether you targeting "window menu" indeed, or
there just conflict between wanted-by-you keybinding and default WM's
keybinding.

In first case (targeting window menu especially), I would to recommend
think twice before frustrating user.

In second, just reconsider your keybindings, which would be far better.

But again and anyway, I can be absolutelly wrong because don't
understand your reasons and needs...

-- 
Andrew W. Nosenko <andrew w nosenko gmail com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]