You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
440 B
C++

#include <qapplication.h>
#include "atoms.h"
Atoms::Atoms()
{
//TODO use XInternAtoms instead to avoid roundtrips
wm_protocols = XInternAtom(qt_xdisplay(), "WM_PROTOCOLS", FALSE);
wm_delete_window = XInternAtom(qt_xdisplay(), "WM_DELETE_WINDOW", FALSE);
wm_take_focus = XInternAtom(qt_xdisplay(), "WM_TAKE_FOCUS", FALSE);
// compatibility
kwm_win_icon = XInternAtom(qt_xdisplay(), "KWM_WIN_ICON", FALSE);
}