~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to vscreen.h

  • Committer: Matthew Fuller
  • Date: 2016-06-06 11:40:33 UTC
  • mto: This revision was merged to the branch mainline in revision 495.
  • Revision ID: fullermd@over-yonder.net-20160606114033-1n23blni8rb91prv
bool-ify these vscreen functions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#ifndef _CTWM_VSCREEN_H
29
29
#define _CTWM_VSCREEN_H
30
30
 
 
31
#include <stdbool.h>
 
32
 
31
33
struct VirtualScreen {
32
34
        int   x, y, w, h;             /* x,y relative to XineramaRoot */
33
35
        Window window;
39
41
void InitVirtualScreens(ScreenInfo *scr);
40
42
VirtualScreen *findIfVScreenOf(int x, int y);
41
43
VirtualScreen *getVScreenOf(int x, int y);
42
 
Bool CtwmGetVScreenMap(Display *display, Window rootw,
 
44
bool CtwmGetVScreenMap(Display *display, Window rootw,
43
45
                       char *outbuf, int *outbuf_len);
44
 
Bool CtwmSetVScreenMap(Display *display, Window rootw,
 
46
bool CtwmSetVScreenMap(Display *display, Window rootw,
45
47
                       struct VirtualScreen *firstvs);
46
48
 
47
49
#endif /* _CTWM_VSCREEN_H */