projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b51531
)
randr: allocate hot-plugged crtcs
author
Sebastian Dransfeld
<sd@tango.flipp.net>
Wed, 5 Mar 2014 11:05:01 +0000
(12:05 +0100)
committer
Sebastian Dransfeld
<sd@tango.flipp.net>
Thu, 6 Mar 2014 14:18:14 +0000
(15:18 +0100)
src/bin/e_randr.c
patch
|
blob
|
history
diff --git
a/src/bin/e_randr.c
b/src/bin/e_randr.c
index
49a84d7
..
280bed5
100644
(file)
--- a/
src/bin/e_randr.c
+++ b/
src/bin/e_randr.c
@@
-569,7
+569,16
@@
_e_randr_event_cb_crtc_change(void *data EINA_UNUSED, int type EINA_UNUSED, void
if (!crtc)
{
- fprintf(stderr, "E_RANDR: Weird, a new crtc?\n");
+ crtc = E_NEW(E_Randr_Crtc, 1);
+ if (crtc)
+ {
+ e_randr->crtcs = eina_list_append(e_randr->crtcs, crtc);
+ crtc->xid = ev->crtc;
+
+ crtc->geo = ev->geo;
+ crtc->mode = ev->mode;
+ crtc->orient = ev->orientation;
+ }
}
else
{