Commit graph

1947 commits

Author SHA1 Message Date
Dana Jansens
d9d2e7a509 Some cleanups in the mapping procedure. Apply requested states during the process.
Add new function types for new netwm supported actions, i.e. Func_Shade and Func_Fullscreen.
Add support for the _NET_WM_FULLSCREEN state.
2003-01-17 09:15:07 +00:00
Dana Jansens
08a28187c4 add new actions from the ewmh spec 2003-01-17 07:48:38 +00:00
Dana Jansens
105e3524a3 add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized.
add the allowed actions hint setting.
2003-01-17 07:45:07 +00:00
Dana Jansens
8be4541461 add frame.. wrapper changes. 2003-01-17 07:25:34 +00:00
Dana Jansens
a1e6634a05 do good math 2003-01-17 07:25:11 +00:00
Dana Jansens
884ec58ccf use frame.size() 2003-01-17 07:17:26 +00:00
Dana Jansens
a767993e8b add frame.hh to openbox.i's deps 2003-01-17 07:14:47 +00:00
Dana Jansens
9e8f89b619 provide the strut for the frame's size instead of an area rect 2003-01-17 07:12:21 +00:00
Dana Jansens
940247c3e5 make window placement not go off screen at all 2003-01-17 07:10:52 +00:00
Dana Jansens
5cc40ecc8f call the place routine after the window is grabbed 2003-01-17 07:06:34 +00:00
Dana Jansens
48741b97c2 call the place window routine after the frame is created 2003-01-17 07:04:30 +00:00
Dana Jansens
6f0581627a add the Frame class 2003-01-17 07:04:12 +00:00
Dana Jansens
d911b4b154 use the frame's area 2003-01-17 07:03:54 +00:00
Dana Jansens
baaaed3dc1 add a drag threshold 2003-01-17 06:52:34 +00:00
Dana Jansens
a38a8f0bac add drag_threshold 2003-01-17 06:43:47 +00:00
Dana Jansens
6188650ce9 rm my lucid experiment 2003-01-17 06:40:00 +00:00
Dana Jansens
58ff3f35c2 add commented code for future maybe 2003-01-17 06:07:20 +00:00
Dana Jansens
f29a2e9b07 add comment for bugfix 2003-01-17 04:25:23 +00:00
Dana Jansens
6bcfd5d218 don't use XMoveResize, it doesn't work for StaticGravity windows? 2003-01-17 03:53:38 +00:00
Dana Jansens
6a73cff16d get all the normal hints when mapping again, oops. 2003-01-17 03:03:18 +00:00
Dana Jansens
2b0897234f centered gravities lose one borderwidth when mapping too 2003-01-17 02:57:42 +00:00
Dana Jansens
619ad666fc add {}'s 2003-01-17 02:53:06 +00:00
Dana Jansens
53001eebae add whitespace 2003-01-17 02:52:26 +00:00
Dana Jansens
b8ae2f393f try use the gravity in the WM_NORMAL hint, and fall back to the attribute 2003-01-17 02:48:29 +00:00
Dana Jansens
4c2f4e7537 add a getGravity function to get the gravity from the window attributes initially 2003-01-17 02:43:31 +00:00
Dana Jansens
d17b86a41f s/SIGCLD/SIGCHLD/ that was Sysv4 shit 2003-01-17 02:31:46 +00:00
Dana Jansens
f14d74a3ac test for borders on static grav windows 2003-01-17 02:11:11 +00:00
Dana Jansens
44358dfbaa reap child processes when they die 2003-01-16 23:38:21 +00:00
Dana Jansens
af1ac846cc new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz. 2003-01-16 23:32:16 +00:00
Dana Jansens
3a83fe7e6c exec a requested new process via /bin/sh to allow for command line args, the same way otk::bexec does it. 2003-01-16 23:05:58 +00:00
Dana Jansens
035f7d3ff4 use -export-dynamic when linking libpython.a 2003-01-16 09:30:28 +00:00
Dana Jansens
5086347092 add a todo comment 2003-01-16 09:12:07 +00:00
Dana Jansens
c7e157e53c use otk::Property to get the atom values 2003-01-16 08:47:21 +00:00
Dana Jansens
d8aff44a6a redo otk::Property. make it static. 2003-01-16 08:44:52 +00:00
Dana Jansens
8b0daa912e rm old bb shit that we dont use 2003-01-16 07:02:47 +00:00
Dana Jansens
a7207b7d83 make an optional bool param for ustring's other constructors 2003-01-16 05:21:39 +00:00
Dana Jansens
0f7e3be6b6 make an optional bool param for ustring's default constructor 2003-01-16 05:20:33 +00:00
Dana Jansens
a8e98570cc dont allow resizing < 1 (based on increments) 2003-01-16 04:10:12 +00:00
Dana Jansens
8eed9d643c stacking list on root is bottom to top 2003-01-16 01:54:51 +00:00
Dana Jansens
3e82959514 extern "C" the C headers 2003-01-15 03:18:01 +00:00
Dana Jansens
e44d7697e5 add headers for select() 2003-01-15 03:17:46 +00:00
Dana Jansens
d9a5620f80 use the better defines for the xft version 2003-01-14 23:55:07 +00:00
Dana Jansens
2a18a4b222 add comment 2003-01-14 23:53:23 +00:00
Dana Jansens
21b5c60231 check for XftGetVersion 2003-01-14 23:53:04 +00:00
Dana Jansens
b267261403 just return if a valid widget isnt found, racey to assert 2003-01-14 22:58:35 +00:00
Dana Jansens
219e18e744 display the build version as well as the runtime version of Xft 2003-01-14 22:49:59 +00:00
Dana Jansens
231f4dadab no long used with our Timer-ng! 2003-01-14 21:14:21 +00:00
Dana Jansens
a388c41df4 dont need unistd for gettimeofday 2003-01-14 20:33:19 +00:00
Dana Jansens
96a9196cbb otk::Timer-ng!! thanks ManMower for this shizznit! 2003-01-14 09:54:05 +00:00
Dana Jansens
0afb431644 rm the util directory 2003-01-14 00:13:20 +00:00