1 year ago

#334057

test-img

KJ7LNW

If I have an x11 "Window", how can I tell if it is the root window?

If I have an x11 "Window", how can I tell if it is the root window?

I've found a few examples of enumerating windows, but that sounds like more than should be necessary. Can 'win' be checked directly?

int is_root_win(Window win)
{
  return /* What do I put here? */;
}

c

x11

xlib

0 Answers

Your Answer

Accepted video resources