Commit graph

1327 commits

Author SHA1 Message Date
Marco Peereboom
f5f7f0d8ee Oops from mcbride and some style and a comment. 2009-02-03 06:38:25 +00:00
Ryan McBride
08390e53a1 Subscribe to xrandr events, and update our regions dynamically.
Keep a list of old regions around to reuse the region to ws mapping (and
other parameters later)
2009-02-03 05:08:27 +00:00
Marco Peereboom
e9824be628 Check if we are changing workspaces and only unmanage the window if we
are not.
2009-02-03 02:21:01 +00:00
Marco Peereboom
9603301049 Oops do some focus magic just as before. Note this is still hosed due to
enternotify but that is an older issue.
2009-02-03 00:54:35 +00:00
Marco Peereboom
a7d3c9fae6 Add quirk for retarded dialog window sizes and make firefox use it.
Do not resize dialogs unless retarded.
Add unmanager_window so that windows that are unmapped and are transient
are no longer managed; xpdf needs this and other apps dont seem to care.
2009-02-03 00:50:01 +00:00
Ryan McBride
97f28c42c7 Support user-defined regions. Lets you split monster monitors into multiple
regions, or override scrotwm's multi-head autodetection (such as on video
drivers that do multihead without telling X).

Also a big step towards dynamic Xrandr support.
2009-02-01 11:59:40 +00:00
Ryan McBride
4cd489c8fd Silence format string warnings with debug enabled;
"Window" is not int (%d), it's unsigned long (%lu).
2009-02-01 10:05:25 +00:00
Ryan McBride
0fef71b6c4 We have more than one file now, and the licenses are not exactly the same,
update to reflect this. Also mention & link to license.template, and remove
epitome remenants from <title>.
2009-02-01 07:42:12 +00:00
Marco Peereboom
0337f0c525 Add lock screen 2009-02-01 05:29:43 +00:00
Marco Peereboom
4258fd5e78 Add some features and more screenshots 2009-02-01 05:01:16 +00:00
Marco Peereboom
a23d0a3903 New man 2009-02-01 04:16:58 +00:00
Marco Peereboom
07e24994b8 Bump version for snap 2009-02-01 04:03:40 +00:00
Marco Peereboom
48f1a28fef no {} around DNPRINTF. 2009-02-01 03:04:45 +00:00
Ryan McBride
ef200b93d6 Put transient windows into the current workspace, regardless of any
inherited window properties.
2009-02-01 01:45:43 +00:00
Ryan McBride
2983567044 Document M-t: Toggle focused window between tiled and floating 2009-02-01 01:42:08 +00:00
Ryan McBride
06013e8ce9 Drag tiled windows to floating; toggle windows between floating and tiled
with M-t. Also some backend fixups; stack all tiled windows first, then
floating windows, so order in the list doesn't matter.
2009-02-01 01:39:25 +00:00
Todd Fries
91d94e1eca fix anoncvs to be the right hostname, so host keys do not get reported as changing 2009-01-31 16:31:22 +00:00
Marco Peereboom
e00144a6bf Make resize smarter so that M-M3 resizes the window without centering it
and M-S-M3 keeps the old behavior.
2009-01-30 20:59:20 +00:00
Marco Peereboom
11e890bb3f Add version stuff 2009-01-30 20:33:51 +00:00
Marco Peereboom
e3ef1c7f36 Add version to bar when M-S-v is pressed. We will need it to debug at
some point.
2009-01-30 20:16:01 +00:00
Marco Peereboom
63d5e9bd53 Fix a silly crash 2009-01-30 03:51:01 +00:00
Marco Peereboom
2f3e49717f New man file 2009-01-29 22:37:58 +00:00
Marco Peereboom
badd09cecf remove one item and add snapshot link 2009-01-29 22:36:20 +00:00
Marco Peereboom
cb242b5abd Fix smaller than possible resize. 2009-01-29 22:31:27 +00:00
Marco Peereboom
c47f0743e9 Add resize and move action. 2009-01-29 22:19:44 +00:00
Marco Peereboom
21a5aa39eb Add move window as well. 2009-01-29 22:15:15 +00:00
Marco Peereboom
52e012d18a Redo man
/me <3 jmc
2009-01-29 21:55:51 +00:00
Marco Peereboom
0cde83bdc3 Move mouse back onto the border to retain focus on resized window. 2009-01-29 21:41:00 +00:00
Marco Peereboom
0139236e71 Resize transient & floating windows with alt-mouse3. Keeps the window in
the middle of the screen because I am not sure if that isn'y what we wnat
yet.  For mplayer it is nice to keep it in the middle.
2009-01-29 21:38:49 +00:00
Marco Peereboom
a2a8bae91b Move class names into ws_win; this will make debug easy because now we
can print the name of the window as well.
2009-01-29 20:35:01 +00:00
Marco Peereboom
de65c2a567 Add class code so that we can quirk certain apps.
Add beginnings of propertynotify to deal with property changes.
2009-01-29 20:27:11 +00:00
Marco Peereboom
737b7f3980 Make full screen actually full screen and move window so that border is out
of sight.
2009-01-28 21:14:08 +00:00
Marco Peereboom
741c46afdc KNF
Add cvs tag as a string that is printed at startup.
2009-01-28 20:58:39 +00:00
Marco Peereboom
a912ad3965 open /dev/null on stdin during spawn. pointed out by mcbride and it fixes
mplayer when launched from firefox and when firefox was launched from dmenu
Also move focus to the bottom of manage_window.
2009-01-28 17:46:55 +00:00
Marco Peereboom
197abc3a5b Add bugs and todo. Need the bugs because i keep forgetting. 2009-01-28 04:57:32 +00:00
Marco Peereboom
541344a40a Move some more declarations to where they belong. 2009-01-28 04:45:45 +00:00
Marco Peereboom
9c41144eee Bump man 2009-01-28 04:36:22 +00:00
Marco Peereboom
c405976b2d Bump version to roll a snap 2009-01-28 03:29:33 +00:00
Marco Peereboom
81e0c66a1e One more item done 2009-01-28 00:21:39 +00:00
Marco Peereboom
134554a043 Prevent acessing pointer that has been freed.
Still one weird focus bug leftover where when the last window in a ws gets
destroyed and if there is a window on the alternate screen it gets focus.
2009-01-27 21:30:18 +00:00
Marco Peereboom
ae6a9b20ce Add cycle through regions; aka move pointer.
Fix bug where windows from another ws remained mapped after restart.
Fix focus bug where sometimes the pointer was NULL.
2009-01-27 19:56:47 +00:00
Marco Peereboom
e4c8351e9b Add screenshot_app to conf 2009-01-27 16:18:10 +00:00
Marco Peereboom
f2e6504a1d Add tags 2009-01-27 16:16:20 +00:00
Marco Peereboom
32b3198dcd Do screenshots and add example script for it. 2009-01-27 07:36:49 +00:00
Marco Peereboom
ececcd0a8e Bad mcbride leaking memory and char * in the wrong spot. 2009-01-27 06:50:57 +00:00
Marco Peereboom
b7dbe34497 Move int back where it belongs. 2009-01-25 21:48:06 +00:00
Ryan McBride
fa06bf8d4b Adjust window sizes to match height and width increment hints.
Minimizes wasted space on xterms.
2009-01-25 17:56:01 +00:00
Ryan McBride
5bdf52a032 Support placing the master area on the opposite side. 2009-01-25 10:54:16 +00:00
Ryan McBride
f92c9ed072 Replace the vertical_stack() and horizontal_stack() logic with one
function that rotates appropriately.
2009-01-25 10:43:20 +00:00
Marco Peereboom
69c1b830d4 Remove screenshot since we have it; just not as pretty as one would like. 2009-01-25 04:12:11 +00:00