diff options
author | akir <akir> | 2004-09-10 15:46:08 (GMT) |
---|---|---|
committer | akir <akir> | 2004-09-10 15:46:08 (GMT) |
commit | a7967dfb25c2f6df31e84d3ffdab952d44efaab1 (patch) | |
tree | 65e2e531851c2bff003e2f11400d0c44082d2efd /src/FbTk/FbWindow.hh | |
parent | 631dfbbc6377b0338b56131e51b37fe836ff96bf (diff) | |
download | fluxbox-a7967dfb25c2f6df31e84d3ffdab952d44efaab1.zip fluxbox-a7967dfb25c2f6df31e84d3ffdab952d44efaab1.tar.bz2 |
put App::instance()->display() to FbDrawable::s_display to avoid too much
unnecessary calls
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r-- | src/FbTk/FbWindow.hh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh index 9e6e50b..36b39be 100644 --- a/src/FbTk/FbWindow.hh +++ b/src/FbTk/FbWindow.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: FbWindow.hh,v 1.32 2004/06/13 00:32:40 fluxgen Exp $ | 22 | // $Id: FbWindow.hh,v 1.33 2004/09/10 15:46:08 akir Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_FBWINDOW_HH | 24 | #ifndef FBTK_FBWINDOW_HH |
25 | #define FBTK_FBWINDOW_HH | 25 | #define FBTK_FBWINDOW_HH |
@@ -179,7 +179,6 @@ private: | |||
179 | bool save_unders, | 179 | bool save_unders, |
180 | int depth, | 180 | int depth, |
181 | int class_type); | 181 | int class_type); |
182 | static Display *s_display; ///< display connection | ||
183 | const FbWindow *m_parent; ///< parent FbWindow | 182 | const FbWindow *m_parent; ///< parent FbWindow |
184 | int m_screen_num; ///< screen num on which this window exist | 183 | int m_screen_num; ///< screen num on which this window exist |
185 | mutable Window m_window; ///< the X window | 184 | mutable Window m_window; ///< the X window |