Changeset 7932c52c6c2726a05a5f5c91bd35e3bd6c3e6b00

Show
Ignore:
Timestamp:
06/03/08 06:24:45 (4 years ago)
Author:
Lincoln de Sousa <lincoln@…>
Children:
6725b7d4a1228f6fa06815a22cc9bcef38347a66
Parents:
e6823bdef64336eb2aa93a68b34f985e4f7e7b4f
git-committer:
Lincoln de Sousa <lincoln@…> (06/03/08 06:24:45)
Message:

after some research about #2, I found gdk.Window.focus that
sends a _NET_ACTIVE_WINDOW to X to say which window should be actived, I am not
sure that this is going to be enough, but it worked in my tests. (closes #2)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/guake.py

    re4e1371 r7932c52  
    492492        self.resize(*self.get_final_window_size()) 
    493493        self.window.show_all() 
     494        self.window.window.focus() 
    494495 
    495496    def hide(self):