[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libcvd-members] libcvd/cvd_src glwindow.cc
From: |
Gerhard Reitmayr |
Subject: |
[libcvd-members] libcvd/cvd_src glwindow.cc |
Date: |
Tue, 28 Aug 2007 17:33:45 +0000 |
CVSROOT: /cvsroot/libcvd
Module name: libcvd
Changes by: Gerhard Reitmayr <gerhard> 07/08/28 17:33:45
Modified files:
cvd_src : glwindow.cc
Log message:
set X class hint to interact nicely with WM
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd_src/glwindow.cc?cvsroot=libcvd&r1=1.9&r2=1.10
Patches:
Index: glwindow.cc
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd_src/glwindow.cc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- glwindow.cc 17 Jul 2007 14:34:58 -0000 1.9
+++ glwindow.cc 28 Aug 2007 17:33:44 -0000 1.10
@@ -69,6 +69,10 @@
CWBorderPixel | CWColormap | CWEventMask,
&attributes);
XStoreName(display, window, title.c_str());
+ XClassHint classHint;
+ classHint.res_class = "cvd";
+ classHint.res_name = (char *)title.c_str();
+ XSetClassHint(display, window, &classHint);
XMapWindow(display, window);
XEvent ev;
do {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libcvd-members] libcvd/cvd_src glwindow.cc,
Gerhard Reitmayr <=