oh gadman, you so crazy. don't set gadget size based on MANAGER dimensions, that's not even close to accurate!
SVN revision: 74579
This commit is contained in:
parent
16a1f42f14
commit
7cf1434f32
|
@ -729,14 +729,14 @@ _apply_widget_position(E_Gadcon_Client *gcc)
|
||||||
int x, y, w, h;
|
int x, y, w, h;
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
||||||
x = gcc->cf->geom.pos_x * Man->width;
|
|
||||||
y = gcc->cf->geom.pos_y * Man->height;
|
|
||||||
w = gcc->cf->geom.size_w * Man->width;
|
|
||||||
h = gcc->cf->geom.size_h * Man->height;
|
|
||||||
|
|
||||||
/* Obtain zone from parent gadcon */
|
/* Obtain zone from parent gadcon */
|
||||||
zone = gcc->gadcon->zone;
|
zone = gcc->gadcon->zone;
|
||||||
|
|
||||||
|
x = gcc->cf->geom.pos_x * zone->w;
|
||||||
|
y = gcc->cf->geom.pos_y * zone->h;
|
||||||
|
w = gcc->cf->geom.size_w * zone->w;
|
||||||
|
h = gcc->cf->geom.size_h * zone->h;
|
||||||
|
|
||||||
/* something broke the config's geom, make it visible so it can be
|
/* something broke the config's geom, make it visible so it can be
|
||||||
* resized/deleted
|
* resized/deleted
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue