From: Arnout E. <no...@bz...> - 2012-07-01 18:37:01
|
On Sun, Jul 01, 2012 at 07:54:57PM +0200, Thomas Klausner wrote: > On Sun, Jul 01, 2012 at 02:12:30PM +0200, Arnout Engelen wrote: > > On Sat, Jun 30, 2012 at 11:04:44AM +0200, Arnout Engelen wrote: > > > I haven't tried, but adding a winprop that sets 'switchto' to false (and > > > perhaps 'ignore_net_active_window' to true) might do the trick. > > > > Jep that seems to do what you want: > > > > defwinprop { > > switchto = false, > > } > > > > It does mark the windows as 'requesting attention', which seems reasonable. > > Looks good! One problem though -- my Windowmaker Dockapps aren't in > the dock since I've restarted with this change. If I revert the > change, they are back at the bottom, where they belong. > > Why is this related? Probably the dockapps also use winprops. From the docs at http://notion.sourceforge.net/notionconf/node4.html#SECTION00452000000000000000 Notion first filters the winprops based on the primary identification fields. Of those winprops that match the primary identification fields, the most recently defined winprop that also matches the secondary filters is used The winprop above is pretty much a 'catch-all' one. cfg_kludges.lua has a winprop that puts all 'is_dockapp' windows into the statusbar. This is probably overwritten by the one above. The solution would be to make sure the winprop above is the first winprop, so any later winprops will overwrite it. In practice this probably means you want to put this winprop before 'dopath("cfg_defaults")' in your cfg_notion.lua. Arnout |