mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
action: If we have a view that is an activator, use that instead of the current focus window
If we don't switch focus, we want the close button to close the window associated with it, not the current focus window. Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
f9f9d809c8
commit
d568c60003
5 changed files with 26 additions and 20 deletions
|
|
@ -472,7 +472,7 @@ void server_init(struct server *server);
|
|||
void server_start(struct server *server);
|
||||
void server_finish(struct server *server);
|
||||
|
||||
void action(struct server *server, const char *action, const char *command,
|
||||
void action(struct view *activator, struct server *server, const char *action, const char *command,
|
||||
uint32_t resize_edges);
|
||||
|
||||
/* update onscreen display 'alt-tab' texture */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue