mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
common: add and use CONNECT_SIGNAL macro
This makes the code a bit more readable IMHO (and forces us to be consistent with event handler function names). Adjust scripts/checkpatch.pl to not complain.
This commit is contained in:
parent
a036d985d7
commit
5cb1d0e83f
6 changed files with 73 additions and 101 deletions
|
|
@ -20,7 +20,7 @@ struct xwayland_unmanaged {
|
|||
struct wl_listener map;
|
||||
struct wl_listener unmap;
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener override_redirect;
|
||||
struct wl_listener set_override_redirect;
|
||||
};
|
||||
|
||||
struct xwayland_view {
|
||||
|
|
@ -30,9 +30,9 @@ struct xwayland_view {
|
|||
/* Events unique to XWayland views */
|
||||
struct wl_listener request_activate;
|
||||
struct wl_listener request_configure;
|
||||
struct wl_listener set_app_id; /* TODO: s/set_app_id/class/ */
|
||||
struct wl_listener set_class;
|
||||
struct wl_listener set_decorations;
|
||||
struct wl_listener override_redirect;
|
||||
struct wl_listener set_override_redirect;
|
||||
|
||||
/* Not (yet) implemented */
|
||||
/* struct wl_listener set_role; */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue