|
|
07-08-2012
, 02:53 PM
|
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#332
|

| The Following User Says Thank You to Onyros For This Useful Post: | ||
|
|
07-08-2012
, 02:59 PM
|
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#333
|
Does clicking a window only bring it to foreground or does it do anything nasty like maximizing it?
I hope it has no problem with rxvt since I have hundreds of them.
Edit: Just saw the screenshot and it appears rxvt works fine, yay!


| The Following User Says Thank You to Onyros For This Useful Post: | ||
|
|
07-09-2012
, 12:51 AM
|
|
Posts: 347 |
Thanked: 587 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#334
|
I can display 13 windows, before Telescope just shows me a blank screen
|
|
07-09-2012
, 04:44 AM
|
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#335
|
|
|
07-09-2012
, 07:10 AM
|
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#336
|
|
|
07-09-2012
, 01:29 PM
|
|
Posts: 347 |
Thanked: 587 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#337
|

| The Following User Says Thank You to Mitrandir For This Useful Post: | ||
|
|
07-10-2012
, 08:13 PM
|
|
Posts: 815 |
Thanked: 818 times |
Joined on Sep 2010
|
#338
|
#include <X11/Xproto.h>
#define MWM_DECORATIONS (1L<<1)
struct s_mwm_hints {
CARD32 flags;
CARD32 functions;
CARD32 decorations;
INT32 input_mode;
CARD32 status;
} motif_hints;
Atom motif_atom;
motif_hints.flags = MWM_DECORATIONS;
motif_hints.decorations = 0; // disable window decorations
motif_atom = XInternAtom(_dpy, "_MOTIF_WM_HINTS", False);
XChangeProperty(_dpy, _win, motif_atom, motif_atom, 32, PropModeReplace, (unsigned char *)&motif_hints, sizeof(motif_hints) / 4);
XSizeHints *size_hints;
if((size_hints = XAllocSizeHints()) != NULL){
size_hints->flags = PPosition;
size_hints->x = 0;
size_hints->y = 0;
XSetWMNormalHints(_dpy, _win, size_hints);
XFree(size_hints);
}
Atom props[4]; props[0] = XInternAtom(_dpy, "_NET_WM_STATE_ABOVE", False); props[1] = XInternAtom(_dpy, "_NET_WM_STATE_STICKY", False); XChangeProperty(_dpy, _win, XInternAtom(_dpy, "_NET_WM_STATE", False), XA_ATOM, 32, PropModeReplace, (unsigned char *)&props, 2);
| The Following User Says Thank You to auouymous For This Useful Post: | ||
|
|
07-11-2012
, 12:28 AM
|
|
Posts: 347 |
Thanked: 587 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#339
|
|
|
07-11-2012
, 01:05 AM
|
|
Posts: 815 |
Thanked: 818 times |
Joined on Sep 2010
|
#340
|


nHotKeyPress() and replaced it with hide(); so pressing the hotkey will open and close telescope.![]() |
| Thread Tools | Search this Thread |
|
Does clicking a window only bring it to foreground or does it do anything nasty like maximizing it?
Edit: Just saw the screenshot and it appears rxvt works fine, yay!