Disable pager live zoom mode when CM is inactive.

SVN revision: 21005
This commit is contained in:
Kim Woelders 2006-03-04 14:11:52 +00:00
parent 63cd385775
commit 332cc0d293
2 changed files with 6 additions and 0 deletions

View File

@ -40,6 +40,7 @@ struct _desk;
int EVisualIsARGB(Visual * vis);
int ECompMgrIsActive(void);
int ECompMgrDeskConfigure(struct _desk *dsk);
void ECompMgrWinNew(EObj * eo);
@ -68,6 +69,8 @@ void ECompMgrRepaint(void);
#define EVisualIsARGB(vis) 0
#define ECompMgrIsActive() 0
#define ECompMgrDeskConfigure(dsk) 0
#endif

View File

@ -26,6 +26,7 @@
#include "desktops.h"
#include "dialog.h"
#include "e16-ecore_list.h"
#include "ecompmgr.h"
#include "emodule.h"
#include "ewins.h"
#include "groups.h"
@ -1109,6 +1110,8 @@ PagerZoomChange(Pager * p, int delta)
if (delta > 0)
{
if (!ECompMgrIsActive() && Mode_pagers.zoom >= 2)
return;
if (Mode_pagers.zoom >= 8)
return;
Mode_pagers.zoom++;