X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fpopup.c;h=769b942cfa5f27b3404d9db74570be9595ed238a;hb=06d3487d49791015902b322408ebb105ba82d9b7;hp=101211681f4e8dcd11e6ebb22bdfd77411e4c420;hpb=dd80df31c4ed096e79b45661d62e369df653f76b;p=chaz%2Fopenbox diff --git a/openbox/popup.c b/openbox/popup.c index 10121168..769b942c 100644 --- a/openbox/popup.c +++ b/openbox/popup.c @@ -1,5 +1,6 @@ #include "openbox.h" #include "frame.h" +#include "client.h" #include "window.h" #include "stacking.h" #include "render/render.h" @@ -105,7 +106,7 @@ void popup_size_to_string(Popup *self, char *text) self->w = textw + iconw + ob_rr_theme->bevel * (self->hasicon ? 3 : 2); } -void popup_show(Popup *self, char *text, Icon *icon) +void popup_show(Popup *self, char *text, ObClientIcon *icon) { int x, y, w, h; int textw, texth;