Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h ewin-ops.c mod-misc.c settings.c
Log Message:
Add option to send ICCCM ConfigureNotify's while moving (default off, was
always on).
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.397
retrieving revision 1.398
diff -u -3 -r1.397 -r1.398
--- E.h 24 Mar 2005 23:38:07 -0000 1.397
+++ E.h 28 Mar 2005 13:39:22 -0000 1.398
@@ -860,6 +860,7 @@
int mode_resize;
int mode_info;
int opacity;
+ char update_while_moving;
} movres;
struct
{
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ewin-ops.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- ewin-ops.c 24 Mar 2005 23:38:08 -0000 1.18
+++ ewin-ops.c 28 Mar 2005 13:39:32 -0000 1.19
@@ -341,10 +341,7 @@
EwinBorderCalcSizes(ewin);
-#if 0 /* FIXME - Make configurable? */
- if ((Mode.mode != MODE_MOVE_PENDING && Mode.mode != MODE_MOVE)
- || (Mode.have_place_grab))
-#endif
+ if (Mode.mode == MODE_NONE || Conf.movres.update_while_moving)
ICCCM_Configure(ewin);
if (move)
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/mod-misc.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- mod-misc.c 20 Mar 2005 23:28:59 -0000 1.12
+++ mod-misc.c 28 Mar 2005 13:39:32 -0000 1.13
@@ -111,6 +111,7 @@
CFG_ITEM_INT(Conf, movres.mode_move, 0),
CFG_ITEM_INT(Conf, movres.mode_resize, 2),
CFG_ITEM_INT(Conf, movres.mode_info, 1),
+ CFG_ITEM_INT(Conf, movres.update_while_moving, 0),
CFG_ITEM_INT(Conf, movres.opacity, 150),
CFG_ITEM_BOOL(Conf, place.manual, 0),
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/settings.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -3 -r1.133 -r1.134
--- settings.c 19 Mar 2005 16:40:07 -0000 1.133
+++ settings.c 28 Mar 2005 13:39:32 -0000 1.134
@@ -338,7 +338,8 @@
static int tmp_move;
static int tmp_resize;
-static int tmp_geominfo = 1;
+static int tmp_geominfo;
+static char tmp_update_while_moving;
/*
static void je_move(int, void *);
@@ -359,6 +360,7 @@
Conf.movres.mode_move = tmp_move;
Conf.movres.mode_resize = tmp_resize;
Conf.movres.mode_info = tmp_geominfo;
+ Conf.movres.update_while_moving = tmp_update_while_moving;
}
if (val)
if ((d =
@@ -520,6 +522,7 @@
tmp_move = Conf.movres.mode_move;
tmp_resize = Conf.movres.mode_resize;
tmp_geominfo = Conf.movres.mode_info;
+ tmp_update_while_moving = Conf.movres.update_while_moving;
d = DialogCreate("CONFIGURE_MOVERESIZE");
DialogSetTitle(d, _("Move & Resize Settings"));
@@ -695,6 +698,20 @@
DialogItemSetFill(di, 1, 0);
DialogItemSeparatorSetOrientation(di, 0);
+ di = DialogAddItem(table, DITEM_CHECKBUTTON);
+ DialogItemSetColSpan(di, 2);
+ DialogItemSetPadding(di, 2, 2, 2, 2);
+ DialogItemSetFill(di, 1, 0);
+ DialogItemCheckButtonSetText(di, _("Update window while moving"));
+ DialogItemCheckButtonSetState(di, tmp_update_while_moving);
+ DialogItemCheckButtonSetPtr(di, &tmp_update_while_moving);
+
+ di = DialogAddItem(table, DITEM_SEPARATOR);
+ DialogItemSetColSpan(di, 2);
+ DialogItemSetPadding(di, 2, 2, 2, 2);
+ DialogItemSetFill(di, 1, 0);
+ DialogItemSeparatorSetOrientation(di, 0);
+
DialogAddButton(d, _("OK"), CB_ConfigureMoveResize, 1, DIALOG_BUTTON_OK);
DialogAddButton(d, _("Apply"), CB_ConfigureMoveResize, 0,
DIALOG_BUTTON_APPLY);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs