diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-05-06 08:44:29 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2014-05-12 23:34:05 -0700 |
commit | 973d7879e33e624f99f24fdd3dd0ddd8c9ca4dad (patch) | |
tree | f43a6435cbbfc4d1d048f8fc8330b0109c7f50ee /clients/simple-shm.c | |
parent | de6809912e1a4639b05a4098a346872f91d8103b (diff) | |
download | weston-973d7879e33e624f99f24fdd3dd0ddd8c9ca4dad.tar.gz |
xdg-shell: Turn "activated" into a state
This drops two events, and makes new window decorations race-free with
an attach in-flight.
Diffstat (limited to 'clients/simple-shm.c')
-rw-r--r-- | clients/simple-shm.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clients/simple-shm.c b/clients/simple-shm.c index d0cd7e39..29abb8bc 100644 --- a/clients/simple-shm.c +++ b/clients/simple-shm.c @@ -124,16 +124,6 @@ handle_configure(void *data, struct xdg_surface *surface, } static void -handle_activated(void *data, struct xdg_surface *xdg_surface) -{ -} - -static void -handle_deactivated(void *data, struct xdg_surface *xdg_surface) -{ -} - -static void handle_delete(void *data, struct xdg_surface *xdg_surface) { running = 0; @@ -141,8 +131,6 @@ handle_delete(void *data, struct xdg_surface *xdg_surface) static const struct xdg_surface_listener xdg_surface_listener = { handle_configure, - handle_activated, - handle_deactivated, handle_delete, }; |