Disable pager live zoom mode when CM is inactive.
SVN revision: 21005
This commit is contained in:
parent
63cd385775
commit
332cc0d293
|
@ -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
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue