wnck_window_activate() not working properly
- From: Nischal Rao <rao nischal gmail com>
- To: gnome-devel-list gnome org
- Subject: wnck_window_activate() not working properly
- Date: Mon, 15 Mar 2010 19:59:39 +0530
Hi,
I wrote a simple program to activate a window when it opens. But the activated window is not able to take keyboard inputs (e.g., I can't open "File" in the menu bar when I hit "Alt-F" upon activation). I get the keyboard input only when I click the window with my mouse. Am I missing anything obvious here??
By the way, I also get the following error:
Wnck-WARNING **: Received a timestamp of 0; window activation may not function properly.
I am getting this error even when I give gtk_get_current_event_time() as the timestamp to wnck_window_activate().
Thanks in advance.
--
regards,
Nischal E Rao
blogs.sun.com/nischalJoin RVCE OSUM at
http://osum.sun.com/group/rvceosum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]