rbindkeys 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rbindkeys/observer.rb +5 -1
- data/lib/rbindkeys/version.rb +1 -1
- metadata +4 -4
data/lib/rbindkeys/observer.rb
CHANGED
@@ -89,7 +89,11 @@ module Rbindkeys
|
|
89
89
|
event = @window_observer.listen_with_no_select
|
90
90
|
return if event.nil? or event.window.nil?
|
91
91
|
|
92
|
-
|
92
|
+
begin
|
93
|
+
@event_handler.active_window_changed event.window
|
94
|
+
rescue ActiveWindowX::Xlib::XErrorEvent => e
|
95
|
+
LOG.error e
|
96
|
+
end
|
93
97
|
end
|
94
98
|
|
95
99
|
def handle_device_event
|
data/lib/rbindkeys/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbindkeys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Keiichiro Ui
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-08-04 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: revdev
|