]> git.mdlowis.com Git - proto/labwc.git/commit
config: remove is_attribute
authorJohan Malm <jgm323@gmail.com>
Wed, 22 Sep 2021 19:25:57 +0000 (20:25 +0100)
committerJohan Malm <jgm323@gmail.com>
Wed, 22 Sep 2021 19:25:57 +0000 (20:25 +0100)
commite1c1b4544dda71ca521fe7a9d81ff545dc4d8b3b
tree8d595e5265fd993c869a6206b6a9d0df4f2b95be
parentb5addb62e06cfb22a6d3be6bc4c662db04c9cb22
config: remove is_attribute

Simplify code, by removing the ability to differentiate between
attributes and sub-elements when creating node names. For example,
the following two examples would generate the nodename `bar.foo`

- <bar><foo></foo></bar>
- <bar foo="">

In theory, there could be clashes, but I think in reality it is unlikely.
There are no clashes in openbox-spec and it would be pretty confusing to
have something like:

<font name="">
  <name></name>
</font>
src/config/rcxml.c