Re: Intercepting X events cleanly?
- From: "Gustavo J. A. M. " Carneiro <gjc inescporto pt>
- To: Ramkumar Chinchani <rc27 cse Buffalo EDU>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Intercepting X events cleanly?
- Date: 12 Mar 2003 11:29:52 +0000
On Ter, 2003-03-11 at 20:55, Ramkumar Chinchani wrote:
I am just trying to intercept X events cleanly and show a menu popup when
a button click happens on the root window.
If I use gdk_window_add_filter(), then I intercept all events before they
get delivered to GDK. If I do a *gtk_menu_popup* at this point, Xlib
complains.
Is there a cleaner way of doing things?
Yes: don't do it! :)
Really, only window managers are allowed to do such things. In any
case, my knowledge ceases at this point. Maybe Havoc can tell you more;
I know nothing about WM programming.
--
Gustavo João Alves Marques Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]