forked from enlightenment/enlightenment
fix comp bug where focus+urgency states were not applied to windows on startup
SVN revision: 82769
This commit is contained in:
parent
4d97230dfd
commit
c088474ba6
|
@ -1,3 +1,7 @@
|
||||||
|
2013-01-14 Mike Blumenkrantz
|
||||||
|
|
||||||
|
* compositor now applies focus/urgency state to windows on first show
|
||||||
|
|
||||||
2013-01-12 Mike Blumenkrantz
|
2013-01-12 Mike Blumenkrantz
|
||||||
|
|
||||||
* split comp window match settings into separate dialog
|
* split comp window match settings into separate dialog
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -67,6 +67,7 @@ Improvements:
|
||||||
* composite settings dialog is now accessible from Settings menu
|
* composite settings dialog is now accessible from Settings menu
|
||||||
* added focus-out color class and functionality to default theme
|
* added focus-out color class and functionality to default theme
|
||||||
* added fallback timer for system actions
|
* added fallback timer for system actions
|
||||||
|
* compositor now applies focus/urgency state to windows on first show
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Force check changed upon confirmation dialog closure for engine settings.
|
* Force check changed upon confirmation dialog closure for engine settings.
|
||||||
|
|
|
@ -1826,12 +1826,16 @@ _e_comp_win_shadow_setup(E_Comp_Win *cw)
|
||||||
edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
|
edje_object_signal_emit(cw->shobj, "e,state,shadow,off", "e");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cw->bd || focus || urgent)
|
if (cw->bd)
|
||||||
{
|
{
|
||||||
if (focus || (cw->bd && cw->bd->focused))
|
if (focus || (cw->bd && cw->bd->focused))
|
||||||
edje_object_signal_emit(cw->shobj, "e,state,focus,on", "e");
|
edje_object_signal_emit(cw->shobj, "e,state,focus,on", "e");
|
||||||
|
else
|
||||||
|
edje_object_signal_emit(cw->shobj, "e,state,focus,off", "e");
|
||||||
if (urgent || (cw->bd && cw->bd->client.icccm.urgent))
|
if (urgent || (cw->bd && cw->bd->client.icccm.urgent))
|
||||||
edje_object_signal_emit(cw->shobj, "e,state,urgent,on", "e");
|
edje_object_signal_emit(cw->shobj, "e,state,urgent,on", "e");
|
||||||
|
else
|
||||||
|
edje_object_signal_emit(cw->shobj, "e,state,urgent,off", "e");
|
||||||
}
|
}
|
||||||
if (cw->visible)
|
if (cw->visible)
|
||||||
edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
|
edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
|
||||||
|
|
Loading…
Reference in New Issue