aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun/FbRun.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/fbrun/FbRun.cc')
-rw-r--r--util/fbrun/FbRun.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/util/fbrun/FbRun.cc b/util/fbrun/FbRun.cc
index 334414b..9c4d1d5 100644
--- a/util/fbrun/FbRun.cc
+++ b/util/fbrun/FbRun.cc
@@ -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: FbRun.cc,v 1.12 2003/06/24 10:22:42 fluxgen Exp $ 22// $Id: FbRun.cc,v 1.13 2003/06/25 12:01:23 fluxgen Exp $
23 23
24#include "FbRun.hh" 24#include "FbRun.hh"
25 25
@@ -58,6 +58,14 @@ FbRun::FbRun(int x, int y, size_t width):
58 // setting nomaximize in local resize 58 // setting nomaximize in local resize
59 resize(width, m_font.height()); 59 resize(width, m_font.height());
60 FbTk::EventManager::instance()->registerEventHandler(*this, m_win.window()); 60 FbTk::EventManager::instance()->registerEventHandler(*this, m_win.window());
61 // setup class name
62 XClassHint *class_hint = XAllocClassHint();
63 if (class_hint == 0)
64 throw string("Out of memory");
65 class_hint->res_name = "fbrun";
66 class_hint->res_class = "FbRun";
67 XSetClassHint(m_display, m_win.window(), class_hint);
68 XFree(class_hint);
61} 69}
62 70
63 71