e94d85a8db98f9264cf4f5200d39ea41d8bdb1d0,check_monitors.py,XDisp,print_monitor,#XDisp#,68

Before Change


        // which references https://www.x.org/wiki/Development/Documentation/HowVideoCardsWork///index3h3
        try:
            crtcInfo = self.dpy.xrandr_get_crtc_info(mon["crtc"],
                                            self.resources["config_timestamp"])
            // print(crtcInfo)
            // crtcInfo also includes rotation info but I"m not doing anything
            // with that since I don"t personally use it.

After Change


            print("\n%s:" % mon["name"])
            print(", ".join([self.allmodes[m] for m in mon["modes"]]))

        geom = self.mon_geom[mon["name"]]
        if self.laptop_screen == mon["name"]:
            islaptop = "    **laptop"
        else:
            islaptop = ""
        print("Size: %4dx%4d   Position: (%4d, %4d)   mm: %d x %d%s"
              % (geom["width"], geom["height"], geom["x"], geom["y"],
                 geom["mm_width"], geom["mm_height"],
                 islaptop))


    def print_monitors(self, show_all_modes):
        for mname in self.monitors:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: akkana/scripts
Commit Name: e94d85a8db98f9264cf4f5200d39ea41d8bdb1d0
Time: 2019-09-07
Author: akkana@shallowsky.com
File Name: check_monitors.py
Class Name: XDisp
Method Name: print_monitor


Project Name: lingpy/lingpy
Commit Name: 875a33806acea37f602d0ad20fb77cd42432bbb6
Time: 2013-11-08
Author: bambooforest@gmail.com
File Name: scripts/tokenize/tokenize_pad.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: a4e69725c0fa3d53312f546c185647e49d9e6602
Time: 2017-07-21
Author: Peterche1990@Hotmail.com
File Name: time_sequence_prediction/train.py
Class Name:
Method Name: