Am Freitag, 10. Oktober 2008 06:49:32 schrieb Guillaume Pothier: > Hi, I'm starting to get a better idea of how all of this works now. I > started hacking on plasmaapp. Kephal will actually make the code > simpler as it provides finer-grained signals (screen added, removed, > moved, resized), so the behavior of adjustSize can actually be split > between the corresponding slots (I started doing that). > Question: Plasma::View has an "int screen" attribute, that currently > indicates "the xinerama screen number; -1 for no screen". Is that ok > to replace that with a "kephal::Screen *screen" attribute? I think it > should be ok, as kephal would be ultimately responsible of choosing > between xrandr and xinerama, hiding those details from plasma. Or > maybe the attribute could remain an int, but it would be a kephal > screen number instead of a xinerama screen number?
Kephal uses int's as ids for the screens, so i guess its best to just stick with using int's... :-) _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel