File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 3
3
-- @Author : Marcel Arpogaus <marcel dot arpogaus at gmail dot com>
4
4
--
5
5
-- @Created: 2021-02-03 16:02:46 (Marcel Arpogaus)
6
- -- @Changed: 2021-02-10 08:21:28 (Marcel Arpogaus)
6
+ -- @Changed: 2021-02-04 09:36:26 (Marcel Arpogaus)
7
7
-- [ description ] -------------------------------------------------------------
8
8
-- ...
9
9
-- [ license ] -----------------------------------------------------------------
@@ -31,7 +31,6 @@ module.init = function(_)
31
31
return {
32
32
-- Signal function to execute when a new client appears.
33
33
client = {
34
- [' untagged' ] = function (c ) c :emit_signal (' manage' ) end ,
35
34
[' manage' ] = function (c )
36
35
-- Set the windows at the slave,
37
36
-- i.e. put it at the end of others instead of setting it master.
Original file line number Diff line number Diff line change 3
3
-- @Author : Marcel Arpogaus <marcel dot arpogaus at gmail dot com>
4
4
--
5
5
-- @Created: 2021-02-03 17:41:25 (Marcel Arpogaus)
6
- -- @Changed: 2021-02-10 08:20:28 (Marcel Arpogaus)
6
+ -- @Changed: 2021-02-06 13:11:38 (Marcel Arpogaus)
7
7
-- [ description ] -------------------------------------------------------------
8
8
-- ...
9
9
-- [ license ] -----------------------------------------------------------------
Original file line number Diff line number Diff line change 3
3
-- @Author : Marcel Arpogaus <marcel dot arpogaus at gmail dot com>
4
4
--
5
5
-- @Created: 2021-01-27 11:14:55 (Marcel Arpogaus)
6
- -- @Changed: 2021-02-10 08:15:14 (Marcel Arpogaus)
6
+ -- @Changed: 2021-02-09 18:07:29 (Marcel Arpogaus)
7
7
-- [ description ] -------------------------------------------------------------
8
8
-- ...
9
9
-- [ license ] -----------------------------------------------------------------
@@ -151,7 +151,7 @@ module.init = function(config, mainmenu)
151
151
end ,
152
152
[' move to screen' ] = function (c )
153
153
c :move_to_screen ()
154
- c :emit_signal (' manage' )
154
+ c :emit_signal (' manage' , ' key.movetoscreen ' , {} )
155
155
c :emit_signal (' request::activate' , ' key.movetoscreen' ,
156
156
{raise = true })
157
157
end ,
Original file line number Diff line number Diff line change @@ -125,7 +125,15 @@ module.init = function(
125
125
collectgarbage ()
126
126
end
127
127
128
+ s .move_all_clients = function ()
129
+ for _ , c in pairs (s :get_all_clients ()) do
130
+ c :move_to_screen ()
131
+ c :emit_signal (' manage' , ' screen' , {})
132
+ end
133
+ end
134
+
128
135
s :connect_signal (' removed' , s .reset )
136
+ s :connect_signal (' removed' , s .move_all_clients )
129
137
end
130
138
awful .screen .connect_for_each_screen (update_screen )
131
139
end
You can’t perform that action at this time.
0 commit comments