cosmetic change
This commit is contained in:
parent
6afde5c520
commit
e0550eb098
1 changed files with 3 additions and 4 deletions
|
@ -34,11 +34,10 @@ namespace FbTk {
|
|||
Display *GContext::m_display = 0;
|
||||
|
||||
GContext::GContext(const FbTk::FbDrawable &drawable):
|
||||
m_gc(XCreateGC(m_display != 0 ? m_display : FbTk::App::instance()->display(),
|
||||
drawable.drawable(),
|
||||
0, 0)) {
|
||||
m_gc(XCreateGC(drawable.display(), drawable.drawable(), 0, 0)) {
|
||||
|
||||
if (m_display == 0)
|
||||
m_display = FbTk::App::instance()->display();
|
||||
m_display = drawable.display();
|
||||
|
||||
setGraphicsExposure(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue