mirror of
https://github.com/amiwm/amiwm.git
synced 2026-03-24 01:24:15 +00:00
10
amiwm.1
10
amiwm.1
@@ -113,6 +113,8 @@ The options are as follows:
|
||||
.It Ic InterScreenGap Ta 0 Ta Ar number
|
||||
.It Ic Module Ta "" Ta Qo Ar name Qc Op Qq initstring
|
||||
.It Ic ModulePath Ta "" Ta Qq Ar path Ns Op Cm :\& Ns Ar path ...
|
||||
.It Ic OpaqueMove Ta False Ta Ar boolean
|
||||
.It Ic OpaqueResize Ta False Ta Ar boolean
|
||||
.It Ic Screen Ta "" Ta Oo Ar number Oc Ar screenname
|
||||
.It Ic ScreenFont Ta "" Ta Qq Ar fontname
|
||||
.It Ic ShortLabelIcons Ta Cm off Ta Ar boolean
|
||||
@@ -183,6 +185,14 @@ This is the original AmigaOS policy.
|
||||
Allows you to move windows outside the perimeter of the root window when pressing shift,
|
||||
when trying to drag at least 25% of the window ofscreen,
|
||||
or always, respectively.
|
||||
.
|
||||
.It Ic OpaqueMove Ar bool
|
||||
Whether moving a window by dragging its titlebar should move the window in real time;
|
||||
or just move a frame indicating where the window will be after releasing the mouse button.
|
||||
.
|
||||
.It Ic OpaqueResize Ar bool
|
||||
Whether resizing a window by dragging its resize handle should resize the window in real time;
|
||||
or just resize a frame indicating the window's final size after releasing the mouse button.
|
||||
.El
|
||||
.
|
||||
.Ss Windows decorations
|
||||
|
||||
14
icc.c
14
icc.c
@@ -78,20 +78,6 @@ void setstringprop(Window w, Atom a, char *str)
|
||||
XSetTextProperty(dpy, w, &txtp, a);
|
||||
}
|
||||
|
||||
XEvent *mkcmessage(Window w, Atom a, long x)
|
||||
{
|
||||
static XEvent ev;
|
||||
|
||||
memset(&ev, 0, sizeof(ev));
|
||||
ev.xclient.type = ClientMessage;
|
||||
ev.xclient.window = w;
|
||||
ev.xclient.message_type = a;
|
||||
ev.xclient.format = 32;
|
||||
ev.xclient.data.l[0] = x;
|
||||
ev.xclient.data.l[1] = CurrentTime;
|
||||
return &ev;
|
||||
}
|
||||
|
||||
void getwmstate(Client *c)
|
||||
{
|
||||
Atom *p;
|
||||
|
||||
9
icc.h
9
icc.h
@@ -25,4 +25,13 @@ extern Atom wm_state, wm_change_state, wm_protocols, wm_delete, wm_take_focus, w
|
||||
#define Psizeright 8
|
||||
#define Psizetrans 16
|
||||
|
||||
|
||||
#define mkcmessage(w, a, x, ...) (&(XEvent){.xclient = { \
|
||||
.type = ClientMessage, \
|
||||
.window = (w), \
|
||||
.message_type = (a), \
|
||||
.format = 32, \
|
||||
.data.l = {(long)(x), CurrentTime, __VA_ARGS__}, \
|
||||
}})
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user