~kazade/reem/trunk

« back to all changes in this revision

Viewing changes to src/panel_widget.cpp

  • Committer: Luke Benstead
  • Date: 2011-05-12 16:28:47 UTC
  • Revision ID: kazade@gmail.com-20110512162847-yp7n9l3xjja221a9
Minor fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
    XChangeProperty(disp, xid, atom_strut, XA_CARDINAL, 32, PropModeReplace, (guchar*)&struts, 4);
64
64
    XChangeProperty(disp, xid, atom_strut_partial, XA_CARDINAL, 32, PropModeReplace, (guchar*)&struts, 12);
65
65
 
 
66
    Atom atom_icon_geom = gdk_x11_get_xatom_by_name("_NET_WM_ICON_GEOMETRY");
 
67
    long icon_geom [] = { 0, 0, width, height };
 
68
    XChangeProperty(disp, xid, atom_strut, XA_CARDINAL, 32, PropModeReplace, (guchar*)&icon_geom, 4);
 
69
 
66
70
    strut_width_ = width;
67
71
    strut_height_ = height;
68
72
}