|
2012-07-08
, 18:53
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#332
|
The Following User Says Thank You to Onyros For This Useful Post: | ||
|
2012-07-08
, 18:59
|
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: | ||
|
2012-07-09
, 04:51
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#334
|
I can display 13 windows, before Telescope just shows me a blank screen
|
2012-07-09
, 08:44
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#335
|
|
2012-07-09
, 11:10
|
Posts: 59 |
Thanked: 9 times |
Joined on Jan 2008
@ Lisbon, Portugal
|
#336
|
|
2012-07-09
, 17:29
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#337
|
The Following User Says Thank You to Mitrandir For This Useful Post: | ||
|
2012-07-11
, 00:13
|
Posts: 875 |
Thanked: 918 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: | ||
|
2012-07-11
, 04:28
|
Posts: 355 |
Thanked: 598 times |
Joined on Sep 2009
@ Nizhny Novgorod, Russia
|
#339
|
|
2012-07-11
, 05:05
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#340
|
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!