User Profile
Collapse
-
I found that this can be done by using libwnck. -
Why is this Xlib program not detecting focus change events in C?
I'm having a hard time detecting XMaskEvents in C using Xlib. I want my program to be alerted whenever a window gets the focus and when it loses its focus.
Here is my code:...Code:#include <gtk/gtk.h> #include <gtk/gtkx.h> #include <X11/Xlib.h> #include <stdlib.h> static void activate (GtkApplication* app, gpointer user_data) { GtkWidget *window; GtkWidget *glblLabel
No activity results to display
Show More
Leave a comment: