[fvwmorg/fvwm] 3bad8f: Add "J" function actions (late immediate).

Dominik Vogt <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm.devel
Message-ID <58b6f60ee54cd_5dc23fb133fbbc3c105945@hookshot-fe1-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/fvwmorg/fvwm
  Commit: 3bad8f5e61a9ac1a9e510fe085f69fbbb348fd3c
      https://github.com/fvwmorg/fvwm/commit/3bad8f5e61a9ac1a9e510fe085f69fbbb348fd3c
  Author: Dominik Vogt <[email protected]>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M doc/commands/AddToFunc.xml
    M fvwm/functions.c

  Log Message:
  -----------
  Add "J" function actions (late immediate).

This works like "I" but is executed later (once), when the user
starts interacting with the function, e.g. on the first button
release or if the pointer moves (and the function uses "M").  This
can be used to write an "escalating" close function that runs
on the first button release:

  AddToFunc CloseOrDestroy
  + J Close
  + D Destroy

Run "Close" immediately (but not right when the button is pressed)
and follow up with a Destroy in case of a double click.  Compared
to the normal "+ C Close" this avoids the double click delay
before the action is triggered.


  Commit: ffe942d66cdb1a24d761d9e89c1a4dab49f2400c
      https://github.com/fvwmorg/fvwm/commit/ffe942d66cdb1a24d761d9e89c1a4dab49f2400c
  Author: Dominik Vogt <[email protected]>
  Date:   2017-03-01 (Wed, 01 Mar 2017)

  Changed paths:
    M fvwm/add_window.c
    M fvwm/add_window.h
    M fvwm/events.c
    M fvwm/ewmh_names.c
    M fvwm/session.c
    M fvwm/style.h
    M fvwm/update.c
    M libs/defaults.h

  Log Message:
  -----------
  Fix updating window and icon titles.

With the introduction of the TitleFormat and IconTitleFormat styles, a change
of the window or icon name could affect both titles.  The existing code did not
reflect this and a change in the icon name might not be visible in the window
title and vice versa.  The patch cleans up and unifies handling of changes of
the window and icon names and fixes this problem.

Also, the said patch simply set the default IconTitleFormat to the same as
TitleFormat, so the icon name would never be used anyway.  This commit replaces
the default IconTitleFormat with "%i" instead.


Compare: https://github.com/fvwmorg/fvwm/compare/fa8125cec830...ffe942d66cdb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.