Fix bad flag check for focus stealing

This commit is contained in:
Kevin Lange 2017-01-07 22:08:15 +09:00
parent 03b8280761
commit f05f5cdf92

View File

@ -2225,7 +2225,7 @@ int main(int argc, char * argv[]) {
pex_send(server, p->source, response->size, (char *)response);
free(response);
if (!w->server_flags & YUTANI_WINDOW_FLAG_NO_STEAL_FOCUS) {
if (!(w->server_flags & YUTANI_WINDOW_FLAG_NO_STEAL_FOCUS)) {
set_focused_window(yg, w);
}