awesome/lib/awful
Uli Schlachter dbfe624f67 awful.tag.setscreen: Check if old_screen == new_screen
Setting a tag's screen to what it already is shouldn't have any bad effects.
However, this code messed up the tag order and selection status.

Fix this by returning early if the tag already has the right screen.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2014-04-09 22:05:48 +02:00
..
layout Drop focus:raise() in magnifier.arrange 2014-03-24 22:23:26 +01:00
mouse Remove raise call from mouse.client.move 2014-03-11 09:41:20 +01:00
widget taglist: Add [bg|fg]_empty 2013-12-02 15:10:10 +01:00
autofocus.lua.in Minor doc fixes 2014-03-15 08:51:59 +01:00
button.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
client.lua.in Revert "awful.client.movetoscreen: Don't untag clients completely (FS#1196)" 2014-03-26 14:30:30 +01:00
completion.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
dbus.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
ewmh.lua.in Set c.screen in ewmh.tag and before tags in rules.execute 2014-03-24 22:24:14 +01:00
init.lua.in Move size hints handling back into C (FS#1117) 2013-03-10 12:13:32 +01:00
key.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00
keygrabber.lua.in Minor doc fixes 2014-03-15 08:51:59 +01:00
menu.lua.in awful.menu.clients: Remove useless line (FS#1200) 2014-01-20 16:30:24 +01:00
placement.lua.in awful.placement.no_offscreen: Fix border handling (FS#1065) 2012-12-16 18:11:57 +01:00
prompt.lua.in prompt: CTRL+DELETE deletes history entries 2014-03-12 10:16:27 +01:00
remote.lua.in More fixes for the recent module() removal 2012-06-17 15:24:01 +02:00
rules.lua.in Set c.screen in ewmh.tag and before tags in rules.execute 2014-03-24 22:24:14 +01:00
screen.lua.in awful.screen.focus: Don't move mouse to (0, 0) first (FS#1173) 2013-10-04 11:27:35 +02:00
startup_notification.lua.in Ported awful to lua 5.2 2012-06-16 17:37:30 +02:00
tag.lua.in awful.tag.setscreen: Check if old_screen == new_screen 2014-04-09 22:05:48 +02:00
titlebar.lua.in Add awful.titlebar.widget.minimizebutton 2013-11-03 09:47:11 +01:00
tooltip.lua.in awful.tooltip: Add (and use) :set_markup() function 2014-03-30 23:39:38 +02:00
util.lua.in Add end to end support for spawning tracking using startup notifications 2014-03-15 23:14:41 +01:00
wibox.lua.in Lots of random documentation fixes 2012-11-19 14:09:10 +01:00