Files
xserver/hw/xwin
Enrico Weigelt, metux IT consult b0ffa7b286 treewide: rename dixGetFirstScreenPtr() to dixGetMasterScreen() for correct semantics
In Xinerama/Panoramix configuration there's one screen that's having special
meaning - it's used for simulating as the frontend for all client operations:
the clients (should) only talk to that screen, while panoramix subsystem is
proxying those operations to all the other screens (with certain changed
applied, eg. coordinate transformations).

Historically, this screen happens to be the first one in the system (some of
it's proc's are hooked up in order to achieve desired behaviour). That's why it
used to be accessed via screenInfo.screens[0] - that already had been encapsulated
into a tiny helper `dixGetFirstScreen()`.

a) the correct terminus technicus for a situation where one device (or SW entity)
   entirely controlling others is a master-slave-relationship: the controlling
   device/entity is `master`, the controlled ones are `slave` (to that specific
   master).

b) the term "first screen" is inacurate and misleading here: what the caller's are
   actually interest in isn't the first entry in the screen array, but the screen
   that's controlling the others. With upcoming refactoring of the Xinerama/Panoramix
   subsystem, this might well be a different array index than 0.

c) the term `default` also wouldn't match: `default` implies there's a real practical
   choice, and such value applies when no explicit choice has been made. But in this
   case, it practically doesn't make sense (except perhaps for debugging purpose)
   for a client to use any different screen.

Therefore fixing the function name to the correct technical terminology.
(for sake of patch readability, renaming corresponding variables is left to
subsequent patches).

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-09-12 11:44:05 +02:00
..
2025-07-18 22:24:55 +02:00
2020-07-05 13:07:33 -07:00
2025-06-12 17:21:46 +02:00
2025-06-12 17:21:46 +02:00
2020-07-05 13:07:33 -07:00
2025-07-18 22:24:55 +02:00
2019-05-01 14:06:15 +00:00
2012-03-21 13:54:42 -07:00
2020-07-05 13:07:33 -07:00
2013-07-23 23:59:27 +01:00
2014-10-09 09:27:21 +02:00
2024-03-19 02:05:35 +00:00
2016-03-09 16:13:54 +00:00
2015-03-23 16:01:58 +00:00
2025-06-12 17:21:42 +02:00
2025-06-12 17:21:46 +02:00