Re: how to intercept click on titlebar?

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

 



Ted Huntington <thunting@xxxxxxx> writes:

> Can I use a XSelectInput on the Root Window?  I don't need to
> intercept the buttonpress events on other windows or the titlebar, I
> only need to know when they happen.  I made a file menu for a window
> and need to close the file menu when a button is released on the
> titlebar or a different window (although then, I can use the focusout
> event).   I wish button click on the titlebar could be recognized.
> The menu windows are "override_redirect" windows.

You can use XSelectInput in any window.  What most programs do, and
which I hate, with menus is to grab the mouse while the menu is open.
This gets particularly irritating with programs that have the bad
habit of freezing with a menu opened.

-- 
Måns Rullgård
mru@xxxxxxxxxx

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux