fusuma-plugin-appmatcher 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb9dbbd27158203e744be84d4754a2b2e48d817ca8ac498bbfb4f33a0b245faa
4
- data.tar.gz: a13589698b0e69591abd5709405bf61214fea565a6ac8710c4721123400af9bf
3
+ metadata.gz: 7821bcc57ed92ff1ab9a45afc0e760dec0e852678b2db2a0c6d8cb6b39604ba8
4
+ data.tar.gz: 4d335957d70eee1cb86294a3f57219020cbf42b713dc105c91ae205ed6677ee0
5
5
  SHA512:
6
- metadata.gz: 7e234a50484613b25434a72c7c82c5757550b7220218e6cf2adcc2e235cd1679d5236d591b94a068b23593f71433fe86e72701903b3f573f226f5b1c4cf7be90
7
- data.tar.gz: '0749a1c366228f8f49303a9d2463c0974cdbb973f854b9c3855ea7f279d5a1777c52294f0ad0e4511efc905288b21ac23ccc7f9a8d91d1029252ea37aacffcda'
6
+ metadata.gz: fc4ccfbb2450075a702f9909bebbf5be21650b44794e07f71720a39abd80a221c27b59b39d958ecc37c54c2c8c9b2bf81df04417d8cbdd9a4641f4bd26fc774c
7
+ data.tar.gz: bf37777c2cb5304aa59b8a66c1cb788fc8ef923f5cda1ca5020eb39991fa07156786e6aaa7ff6bc0245c98060bcf0abe1baa7a1e568a4e2795114f390d05d1bb
@@ -59,7 +59,7 @@ class Extension {
59
59
 
60
60
  ActiveWindow() {
61
61
  const actor = global.get_window_actors().find(a=>a.meta_window.has_focus()===true)
62
- if(!actor) { return; }
62
+ if(!actor) { return '{}'; }
63
63
  const w = actor.get_meta_window()
64
64
  try {
65
65
  const obj = { wm_class: w.get_wm_class(), pid: w.get_pid(), id: w.get_id(), title: w.get_title(), focus: w.has_focus()}
@@ -3,7 +3,7 @@
3
3
  module Fusuma
4
4
  module Plugin
5
5
  module Appmatcher
6
- VERSION = "0.2.2"
6
+ VERSION = "0.2.3"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fusuma-plugin-appmatcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - iberianpig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rexml
@@ -84,7 +84,7 @@ files:
84
84
  - spec/fusuma/plugin/appmatcher/gnome_extensions/installer_spec.rb
85
85
  - spec/fusuma/plugin/appmatcher/gnome_spec.rb
86
86
  - spec/fusuma/plugin/appmatcher_spec.rb
87
- - spec/fusuma/plugin/inputs/appmatcher_detector_spec.rb
87
+ - spec/fusuma/plugin/detectors/appmatcher_detector_spec.rb
88
88
  - spec/spec_helper.rb
89
89
  homepage: https://github.com/iberianpig/fusuma-plugin-appmatcher
90
90
  licenses:
@@ -112,7 +112,7 @@ specification_version: 4
112
112
  summary: Fusuma plugin to assign gesture mapping per application
113
113
  test_files:
114
114
  - spec/fusuma/plugin/appmatcher_spec.rb
115
- - spec/fusuma/plugin/inputs/appmatcher_detector_spec.rb
116
115
  - spec/fusuma/plugin/appmatcher/gnome_extensions/installer_spec.rb
117
116
  - spec/fusuma/plugin/appmatcher/gnome_spec.rb
117
+ - spec/fusuma/plugin/detectors/appmatcher_detector_spec.rb
118
118
  - spec/spec_helper.rb