bool m_visible;
Display* m_display;
Window m_window;
void setVisible(bool visible)
{
if (visible == m_visible)
return;
if (visible)
XMapWindow(m_display, m_window);
else
XUnmapWindow(m_display, m_window);
m_visible = visible;
}
Dec 19, 2013
How to set a X window visible or invisible using Xlib
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment