diff options
author | fluxgen <fluxgen> | 2002-11-26 17:13:36 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-26 17:13:36 (GMT) |
commit | d9525a3efb4e6dc6d955de2316e4dd95541da851 (patch) | |
tree | 04adf17a35a46d4efc69f459ecad4c1544c46db2 | |
parent | 02ceeb2dd1662f2f0495723b2ac4f624827f1212 (diff) | |
download | fluxbox_lack-d9525a3efb4e6dc6d955de2316e4dd95541da851.zip fluxbox_lack-d9525a3efb4e6dc6d955de2316e4dd95541da851.tar.bz2 |
using FbTk App instead of BaseDisplay
-rw-r--r-- | util/fbrun/FbRun.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc index 039be6b..7aa7938 100644 --- a/util/fbrun/FbRun.cc +++ b/util/fbrun/FbRun.cc | |||
@@ -19,11 +19,11 @@ | |||
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: FbRun.cc,v 1.6 2002/11/13 16:44:42 fluxgen Exp $ | 22 | // $Id: FbRun.cc,v 1.7 2002/11/26 17:13:36 fluxgen Exp $ |
23 | 23 | ||
24 | #include "FbRun.hh" | 24 | #include "FbRun.hh" |
25 | 25 | ||
26 | #include "BaseDisplay.hh" | 26 | #include "App.hh" |
27 | 27 | ||
28 | #include <X11/Xlib.h> | 28 | #include <X11/Xlib.h> |
29 | #include <X11/keysym.h> | 29 | #include <X11/keysym.h> |
@@ -38,7 +38,7 @@ using namespace std; | |||
38 | FbRun::FbRun(int x, int y, size_t width): | 38 | FbRun::FbRun(int x, int y, size_t width): |
39 | m_font("fixed"), | 39 | m_font("fixed"), |
40 | m_win(None), | 40 | m_win(None), |
41 | m_display(BaseDisplay::getXDisplay()), | 41 | m_display(FbTk::App::instance()->display()), |
42 | m_bevel(4), | 42 | m_bevel(4), |
43 | m_gc(DefaultGC(m_display, DefaultScreen(m_display))), | 43 | m_gc(DefaultGC(m_display, DefaultScreen(m_display))), |
44 | m_end(false), | 44 | m_end(false), |