• Main Page
  • Data Structures
  • Files
  • File List
  • Globals

include/client.h

Go to the documentation of this file.
00001 /*
00002  * vim:ts=8:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  *
00006  * © 2009 Michael Stapelberg and contributors
00007  *
00008  * See file LICENSE for license information.
00009  *
00010  */
00011 #include <xcb/xcb.h>
00012 
00013 #include "data.h"
00014 
00015 #ifndef _CLIENT_H
00016 #define _CLIENT_H
00017 
00023 void client_remove_from_container(xcb_connection_t *conn, Client *client,
00024                                   Container *container,
00025                                   bool remove_from_focusstack);
00026 
00032 void client_warp_pointer_into(xcb_connection_t *conn, Client *client);
00033 
00038 void client_kill(xcb_connection_t *conn, Client *window);
00039 
00046 bool client_matches_class_name(Client *client, char *to_class, char *to_title,
00047                                char *to_title_ucs, int to_title_ucs_len);
00048 
00054 void client_enter_fullscreen(xcb_connection_t *conn, Client *client, bool global);
00055 
00060 void client_leave_fullscreen(xcb_connection_t *conn, Client *client);
00061 
00066 void client_leave_fullscreen(xcb_connection_t *conn, Client *client);
00067 
00075 void client_toggle_fullscreen(xcb_connection_t *conn, Client *client);
00076 
00081 void client_toggle_fullscreen_global(xcb_connection_t *conn, Client *client);
00082 
00089 void client_set_below_floating(xcb_connection_t *conn, Client *client);
00090 
00097 bool client_is_floating(Client *client);
00098 
00104 void client_change_border(xcb_connection_t *conn, Client *client, char border_type);
00105 
00112 bool client_init_border(xcb_connection_t *conn, Client *client, char border_type);
00113 
00118 void client_unmap(xcb_connection_t *conn, Client *client);
00119 
00124 void client_map(xcb_connection_t *conn, Client *client);
00125 
00131 void client_mark(xcb_connection_t *conn, Client *client, const char *mark);
00132 
00139 uint32_t client_min_height(Client *client);
00140 
00145 uint32_t client_min_width(Client *client);
00146 
00151 #define CLIENT_LOG(client) do { \
00152                 DLOG("Window: frame 0x%08x, child 0x%08x\n", client->frame, client->child); \
00153         } while (0)
00154 
00155 #endif

Generated on Mon Aug 22 2011 for i3 by  doxygen 1.7.1