remove warnings and add autofocus
This commit is contained in:
+1
-2
@@ -12,10 +12,9 @@
|
||||
|
||||
void xdg_toplevel_commit(struct wl_listener *listener, void *data)
|
||||
{
|
||||
UNUSED(data);
|
||||
struct absinthe_toplevel *toplevel = wl_container_of(listener, toplevel, commit);
|
||||
|
||||
int32_t borders_width = 2 * toplevel->border_width;
|
||||
|
||||
if (toplevel->toplevel.xdg->base->initial_commit) {
|
||||
wlr_xdg_toplevel_set_activated(toplevel->toplevel.xdg, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user