Debian Codegraph @

src/xutils.h

raw symbols SCIP
1 /**
2 * This file is part of devilspie2
3 * Copyright (C) 2001 Havoc Pennington, 2011-2017 Andreas Rönnquist
4 *
5 * devilspie2 is free software: you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as published
7 * by the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * devilspie2 is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with devilspie2.
17 * If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __HEADER_XUTILS_
21 #define __HEADER_XUTILS_
22
23 /**
24 *
25 */
26 Atom my_wnck_atom_get(const char *atom_name);
27
28 void devilspie2_change_state(Screen *screen,
29 Window xwindow,
30 gboolean add,
31 Atom state1,
32 Atom state2);
33
34 Screen* devilspie2_window_get_xscreen(Window xid);
35
36 void devilspie2_error_trap_push();
37 int devilspie2_error_trap_pop();
38
39 gboolean decorate_window(Window xid);
40 gboolean undecorate_window(Window xid);
41
42 char* my_wnck_get_string_property_latin1 (Window xwindow, Atom atom);
43
44 gboolean my_wnck_get_cardinal_list(Window xwindow,
45 Atom atom,
46 gulong **cardinals,
47 int *len);
48
49 int devilspie2_get_viewport_start(Window xwindow, int *x, int *y);
50
51 void my_window_set_window_type(Window xid, gchar *window_type);
52 void my_window_set_opacity(Window xid, double value);
53
54 void set_window_geometry(WnckWindow *window, int x, int y, int w, int h);
55
56 #endif /*__HEADER_XUTILS_*/