dont start managing unmapped windows. remove e manage info from unmanaged
clients SVN revision: 13050
This commit is contained in:
parent
6697521787
commit
81c8839992
|
@ -12,7 +12,6 @@ e_atoms_init(void)
|
|||
E_ATOM_MANAGED = ecore_x_atom_get("__E_WINDOW_MANAGED");
|
||||
E_ATOM_DESK = ecore_x_atom_get("__E_WINDOW_DESK");
|
||||
E_ATOM_ICONIC = ecore_x_atom_get("__E_WINDOW_ICONIC");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
#define E_ATOMS_H
|
||||
|
||||
/* an "overall" atom to see that we recognise the window */
|
||||
extern Ecore_X_Atom E_ATOM_MANAGED;
|
||||
extern EAPI Ecore_X_Atom E_ATOM_MANAGED;
|
||||
|
||||
/* basic window properties */
|
||||
extern Ecore_X_Atom E_ATOM_DESK;
|
||||
extern Ecore_X_Atom E_ATOM_ICONIC;
|
||||
extern EAPI Ecore_X_Atom E_ATOM_DESK;
|
||||
extern EAPI Ecore_X_Atom E_ATOM_ICONIC;
|
||||
|
||||
EAPI int e_atoms_init(void);
|
||||
EAPI int e_atoms_shutdown(void);
|
||||
|
|
|
@ -883,6 +883,9 @@ e_border_idler_before(void)
|
|||
static void
|
||||
_e_border_free(E_Border *bd)
|
||||
{
|
||||
ecore_x_window_prop_property_del(bd->client.win, E_ATOM_MANAGED);
|
||||
ecore_x_window_prop_property_del(bd->client.win, E_ATOM_DESK);
|
||||
ecore_x_window_prop_property_del(bd->client.win, E_ATOM_ICONIC);
|
||||
while (bd->pending_move_resize)
|
||||
{
|
||||
free(bd->pending_move_resize->data);
|
||||
|
|
|
@ -523,7 +523,7 @@ _e_main_screens_init(void)
|
|||
&ret_val, 1);
|
||||
|
||||
/* we have seen this window before */
|
||||
if (ret > -1 && ret_val == 1)
|
||||
if ((ret > -1) && (ret_val == 1))
|
||||
{
|
||||
E_Border *bd;
|
||||
|
||||
|
|
Loading…
Reference in New Issue