Track surface/layer properties with one struct
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Mon, 10 Jul 2017 08:44:29 +0000 (10:44 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
commit0c673801b78c98fe116b4d14bf37fb18f8b749dc
tree2600e18722fa4e0694ed33afbadf0c0b83640ebf
parent8c587d6defaf73c1ddbe50d88f6fdd7360b63507
Track surface/layer properties with one struct

As both share the exact same properties this makes sense, we now can
write code once and work on both layer and surface properties. This
however is only relevant in the wayland "level" of things, as in WM
semantics layers are always fullscreen.

Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/json_helper.cpp
src/json_helper.hpp
src/main.cpp
src/wayland.cpp
src/wayland.hpp