wmadd 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wmadd/version.rb +1 -1
- data/lib/wmadd.rb +6 -3
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2eff95c86cff84f89d674ab32a50bc3ba72983f1819e53308d60f446c09f6fc
|
4
|
+
data.tar.gz: d9f9702ef318b442bc1da8767fc5e16b686a0354325e3ba7048bb8ac127276d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10eaaf97de42cb9f653bbd8fc25e5dd3d358075c325079d74dd44ef3fd5befe1b636f4ccfe30f405d0a60fcd072a567ce298b28f416901ab911b3a52ceeb81b4
|
7
|
+
data.tar.gz: 9303ef823bda4114d8448cf1a9db017345921069b5e762ce2a53b37328618ed0fe553065913468d7e17973076d217c50bd535dbdaab702c3b3d489ce69442a65
|
data/lib/wmadd/version.rb
CHANGED
data/lib/wmadd.rb
CHANGED
@@ -38,8 +38,11 @@ class Wmadd
|
|
38
38
|
ev = @display.next_event
|
39
39
|
case ev
|
40
40
|
when X::CreateWindowEvent
|
41
|
-
|
42
|
-
|
41
|
+
@watch_resize_job&.cancel
|
42
|
+
@watch_resize_job = @timer.set(0.1) do
|
43
|
+
window_list.each do |w|
|
44
|
+
watch_resize_event(w)
|
45
|
+
end
|
43
46
|
end
|
44
47
|
when X::ExposeEvent
|
45
48
|
display_osd if ev.window == @osd.id
|
@@ -93,7 +96,7 @@ class Wmadd
|
|
93
96
|
|
94
97
|
def top_window(win)
|
95
98
|
top = win
|
96
|
-
while top.parent.id != @root.id
|
99
|
+
while top.parent && top.parent.id != @root.id
|
97
100
|
top = top.parent
|
98
101
|
end
|
99
102
|
top
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wmadd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TOMITA Masahiro
|
8
|
+
autorequire:
|
8
9
|
bindir: exe
|
9
10
|
cert_chain: []
|
10
|
-
date: 2024-
|
11
|
+
date: 2024-12-22 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: tmtms_timer
|
@@ -23,7 +24,7 @@ dependencies:
|
|
23
24
|
- - ">="
|
24
25
|
- !ruby/object:Gem::Version
|
25
26
|
version: '0'
|
26
|
-
description: show window geometry
|
27
|
+
description: show window geometry & make window transparent
|
27
28
|
email:
|
28
29
|
- tommy@tmtm.org
|
29
30
|
executables:
|
@@ -47,6 +48,7 @@ metadata:
|
|
47
48
|
homepage_uri: https://gitlab.com/tmtms/wmadd
|
48
49
|
source_code_uri: https://gitlab.com/tmtms/wmadd
|
49
50
|
rubygems_mfa_required: 'true'
|
51
|
+
post_install_message:
|
50
52
|
rdoc_options: []
|
51
53
|
require_paths:
|
52
54
|
- lib
|
@@ -61,7 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
63
|
- !ruby/object:Gem::Version
|
62
64
|
version: '0'
|
63
65
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
66
|
+
rubygems_version: 3.5.22
|
67
|
+
signing_key:
|
65
68
|
specification_version: 4
|
66
|
-
summary: show window geometry
|
69
|
+
summary: show window geometry & make window transparent
|
67
70
|
test_files: []
|