tags:

views:

530

answers:

1

Given an X client window ID, is there a way to raise that window from the command line?

$ xlsclients -a
Window 0x3000001:
  Machine:  ohm
  Name:  Terminal
  Icon Name:  foo
  Command:  foo
  Instance/Class:  foo/bar

$ xraise -id 0x3000001   <-- this is what I would like to do
+1  A: 

Like... http://zaurus.daemons.gr/menaie/build/hacks/xraise/xraise.c?

liori
exactly, thanks! I commented out the XSetInputFocus() call, so now it works perfectly for what I need.
Mark Harrison