D25807: Allow to set the available screen rect/region from outside through dbus

David Redondo noreply at phabricator.kde.org
Tue Dec 17 10:26:22 GMT 2019


davidre added a comment.


  In D25807#579144 <https://phabricator.kde.org/D25807#579144>, @trmdi wrote:
  
  > In D25807#579125 <https://phabricator.kde.org/D25807#579125>, @davidre wrote:
  >
  > > I have a question about naming. If I had an application like panel or latte I would call setAvailableScreenRect? That seems kinda backwards to me? That part of the screen is not available isn't  it but rather not available anymore? Maybe I'm understanding the approach taken here wrong?
  >
  >
  > availableScreenRect = screen_geometry - panels
  >
  > https://api.kde.org/frameworks/plasma-framework/html/classPlasma_1_1Corona.html#ad8ffd115128a128efd830540eeba5dd1
  >
  > The approach here is we have availablescreenrect of plasmashell, then latte send another one. The final result is the intersection of all availablescreenrects.
  
  
  Thanks for the explanation! That makes it clearer to me.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D25807

To: trmdi, #plasma, mvourlakos, davidedmundson, mart, apol
Cc: davidre, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191217/b27bb143/attachment-0001.html>


More information about the Plasma-devel mailing list