howm  
More...
#include <xcb/xproto.h>
#include "types.h"
 
Go to the source code of this file.
howm 
- Author
 - Harvey Hunt
 
- Date
 - 2015 
 
 
Set a monitor as the focused monitor. 
- Parameters
 - 
  
    | m | The monitor to be focused.  | 
  
   
 
 
      
        
          | monitor_t* index_to_monitor  | 
          ( | 
          uint32_t  | 
          index | ) | 
           | 
        
      
 
Convert a monitor's index in a monitor list to an index. 
- Parameters
 - 
  
    | index | The index to search for. | 
  
   
- Returns
 - The monitor stored at the index of the monitors list. 
 
 
 
      
        
          | uint32_t monitor_to_index  | 
          ( | 
          const monitor_t *  | 
          m | ) | 
           | 
        
      
 
Find and return a monitor's index in the monitor list. 
- Parameters
 - 
  
    | m | The monitor to search for. | 
  
   
- Returns
 - The index of the monitor in the monitor list. 
 
 
 
      
        
          | monitor_t* point_to_monitor  | 
          ( | 
          xcb_point_t  | 
          point | ) | 
           | 
        
      
 
Convert a point to a monitor that it is within. 
- Parameters
 - 
  
    | point | The point to be converted to a monitor. | 
  
   
- Returns
 - The monitor containing the point, or NULL. 
 
 
 
Remove a monitor and all of its workspaces. 
- Parameters
 - 
  
    | m | The monitor to be removed.  | 
  
   
 
 
      
        
          | void scan_monitors  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Initialise a monitor for each supported screen.