Bogdan Sinitsyn
c48d81e378
Fix caching issues in ManageDocks
...
Commits d638dc8b
and a5e87e38
introduced a per-AvoidStruts-instance
strut cache that
a) didn't get initialized at startup,
b) didn't get reinitialized after layout reset and
c) didn't get updates if it wasn't the active layout, for example when
layoutHook = avoidStruts tall ||| avoidStruts (mirror tall)
a) + b) could be fixed by using the docksStartupHook introduced in
28e9f8bc
, although this wasn't documented and having to call
docksStartupHook after setLayout is far from obvious.
By moving the strut cache from AvoidStruts instances to a global state,
b) and c) are fixed. One still has to invoke the docksStartupHook for
a), and this will be addressed in the next commit.
2016-09-07 13:26:50 +03:00
..
2016-02-19 19:51:31 +01:00
2009-12-20 00:47:33 +00:00
2013-05-28 00:58:25 +00:00
2010-10-23 19:57:55 +00:00
2015-03-10 21:20:22 +00:00
2016-07-16 13:22:45 -04:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2010-10-23 19:57:55 +00:00
2013-05-28 00:58:25 +00:00
2010-03-14 21:00:01 +00:00
2009-10-22 04:11:26 +00:00
2010-01-12 17:25:07 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 01:39:09 +00:00
2016-09-07 13:26:50 +03:00
2013-05-28 01:39:09 +00:00
2013-05-28 00:58:25 +00:00
2010-10-23 19:57:55 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2015-03-15 13:09:13 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 00:58:25 +00:00
2014-09-14 06:48:28 +00:00
2013-02-22 07:22:32 +00:00
2013-05-28 00:58:25 +00:00
2011-09-07 13:33:04 +00:00
2016-08-27 17:12:34 +01:00
2015-04-14 19:48:38 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2016-07-16 13:23:11 -04:00
2013-05-28 00:58:25 +00:00
2013-05-28 01:39:09 +00:00
2014-01-28 21:28:44 +00:00
2015-03-06 16:42:00 +00:00
2012-11-09 01:41:56 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2009-08-22 21:39:58 +00:00
2010-10-23 19:57:55 +00:00
2013-05-28 00:58:25 +00:00
2013-07-30 07:10:07 +00:00
2013-05-28 00:58:25 +00:00
2014-12-20 01:13:39 +00:00
2015-03-09 23:29:39 +00:00
2010-10-01 10:41:42 +00:00
2013-05-28 00:58:25 +00:00
2015-11-30 20:10:17 -05:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-02-17 16:33:56 +00:00
2013-05-28 00:58:25 +00:00
2010-10-23 19:57:55 +00:00
2013-05-28 01:39:09 +00:00
2009-07-05 20:12:05 +00:00
2012-04-28 19:45:52 +00:00
2015-05-02 04:53:53 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2010-04-16 21:29:39 +00:00
2016-04-29 13:31:59 +02:00
2013-05-28 00:58:25 +00:00
2010-10-23 19:57:55 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2016-06-30 15:33:15 -04:00
2016-01-26 21:27:49 +01:00
2013-05-28 00:58:25 +00:00
2008-08-28 15:18:30 +00:00
2013-05-28 00:58:25 +00:00
2014-09-01 07:21:58 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2014-02-19 20:08:11 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 00:58:25 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2013-05-28 01:39:09 +00:00
2012-11-09 01:41:56 +00:00